Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 6 | 0.961 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 1009 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java |
2 | 16 | 1096 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java |
| ||||
// find the element type of the moved from element RootInfo movedFromInfo = this.enclosingRootInfo(movedFromPath, IResourceDelta.REMOVED); int movedFromType = this.elementType( movedFromRes, IResourceDelta.REMOVED, element.getParent().getElementType(), movedFromInfo); // reset current element as it might be inside a nested root (popUntilPrefixOf() may use the outer root) this.currentElement = null; // create the moved from element Openable movedFromElement = elementType != IJavaElement.JAVA_PROJECT && movedFromType == IJavaElement.JAVA_PROJECT ? null: // outside classpath this.createElement(movedFromRes, movedFromType, movedFromInfo); |
| ||||
// find the element type of the moved from element RootInfo movedToInfo = this.enclosingRootInfo(movedToPath, IResourceDelta.ADDED); int movedToType = this.elementType( movedToRes, IResourceDelta.ADDED, element.getParent().getElementType(), movedToInfo); // reset current element as it might be inside a nested root (popUntilPrefixOf() may use the outer root) this.currentElement = null; // create the moved To element Openable movedToElement = elementType != IJavaElement.JAVA_PROJECT && movedToType == IJavaElement.JAVA_PROJECT ? null: // outside classpath this.createElement(movedToRes, movedToType, movedToInfo); |
| |||
// find the element type of the moved from element RootInfo [[#variable78a77ee0]]= this.enclosingRootInfo( [[#variable78a77e40]], IResourceDelta. [[#variable77af6fc0]]); int [[#variable78a77e00]]= this.elementType( [[#variable78a76e80]], IResourceDelta. [[#variable77af6fc0]], element.getParent().getElementType(), [[#variable78a77ee0]]); // reset current element as it might be inside a nested root (popUntilPrefixOf() may use the outer root) this.currentElement = null; // create the moved from element // create the moved To element Openable [[#variable78a77d20]]= elementType != IJavaElement.JAVA_PROJECT && [[#variable78a77e00]]== IJavaElement.JAVA_PROJECT ? null: // outside classpath this.createElement( [[#variable78a76e80]], [[#variable78a77e00]], [[#variable78a77ee0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78a77ee0]] | movedFromInfo |
1 | 2 | [[#78a77ee0]] | movedToInfo |
2 | 1 | [[#78a77e40]] | movedFromPath |
2 | 2 | [[#78a77e40]] | movedToPath |
3 | 1 | [[#77af6fc0]] | REMOVED |
3 | 2 | [[#77af6fc0]] | ADDED |
4 | 1 | [[#78a77e00]] | movedFromType |
4 | 2 | [[#78a77e00]] | movedToType |
5 | 1 | [[#78a76e80]] | movedFromRes |
5 | 2 | [[#78a76e80]] | movedToRes |
6 | 1 | [[#78a77d20]] | movedFromElement |
6 | 2 | [[#78a77d20]] | movedToElement |