Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.966 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 193 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java |
2 | 7 | 211 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java |
| ||||
if ((length = this.elementChangedListeners.length) == this.elementChangedListenerCount) { System.arraycopy(this.elementChangedListeners, 0, this.elementChangedListeners = new IElementChangedListener[length * 2], 0, length); System.arraycopy(this.elementChangedListenerMasks, 0, this.elementChangedListenerMasks = new int[length * 2], 0, length); } this.elementChangedListeners[this.elementChangedListenerCount] = listener; this.elementChangedListenerMasks[this.elementChangedListenerCount] = eventMask; this.elementChangedListenerCount++; |
| ||||
if ((length = this.preResourceChangeListeners.length) == this.preResourceChangeListenerCount) { System.arraycopy(this.preResourceChangeListeners, 0, this.preResourceChangeListeners = new IResourceChangeListener[length * 2], 0, length); System.arraycopy(this.preResourceChangeEventMasks, 0, this.preResourceChangeEventMasks = new int[length * 2], 0, length); } this.preResourceChangeListeners[this.preResourceChangeListenerCount] = listener; this.preResourceChangeEventMasks[this.preResourceChangeListenerCount] = eventMask; this.preResourceChangeListenerCount++; |
| |||
if ((length = this. [[#variable56fe7900]].length) == this. [[#variable61d03700]]) { System.arraycopy(this. [[#variable56fe7900]], 0, this. [[#variable56fe7900]]= new [[#variableb8265b20]][length * 2], 0, length); System.arraycopy(this. [[#variableb9b27ba0]], 0, this. [[#variableb9b27ba0]]= new int[length * 2], 0, length); } this. [[#variable56fe7900]][this. [[#variable61d03700]]] = listener; this. [[#variableb9b27ba0]][this. [[#variable61d03700]]] = eventMask; this. [[#variable61d03700]]++; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56fe7900]] | elementChangedListeners |
1 | 2 | [[#56fe7900]] | preResourceChangeListeners |
2 | 1 | [[#61d03700]] | elementChangedListenerCount |
2 | 2 | [[#61d03700]] | preResourceChangeListenerCount |
3 | 1 | [[#b8265b20]] | IElementChangedListener |
3 | 2 | [[#b8265b20]] | IResourceChangeListener |
4 | 1 | [[#b9b27ba0]] | elementChangedListenerMasks |
4 | 2 | [[#b9b27ba0]] | preResourceChangeEventMasks |