Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.955 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 263 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java |
2 | 4 | 167 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java |
| ||||
for (int i = 0; i < elements.length; i++) { CPListElement cur = elements[i]; if (cur.getEntryKind() == IClasspathEntry.CPE_SOURCE && cur.getPath().equals(path)) { return cur; } } |
| ||||
for (int i = 0; i < entries.length; i++) { IClasspathEntry curr = entries[i]; if (curr.getEntryKind() == IClasspathEntry.CPE_CONTAINER && curr.getPath().equals(path)) { return i; } } |
| |||
for (int i = 0; i < [[#variableb1aa81e0]].length; i++) { [[#variableb1aa8160]] [[#variableb1aa80c0]]= [[#variableb1aa81e0]][i]; if ( [[#variableb1aa80c0]].getEntryKind() == IClasspathEntry. [[#variableb1aa8060]]&& [[#variableb1aa80c0]].getPath().equals(path)) { return [[#variablea3483fe0]]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1aa81e0]] | elements |
1 | 2 | [[#b1aa81e0]] | entries |
2 | 1 | [[#b1aa8160]] | CPListElement |
2 | 2 | [[#b1aa8160]] | IClasspathEntry |
3 | 1 | [[#b1aa80c0]] | cur |
3 | 2 | [[#b1aa80c0]] | curr |
4 | 1 | [[#b1aa8060]] | CPE_SOURCE |
4 | 2 | [[#b1aa8060]] | CPE_CONTAINER |
5 | 1 | [[#a3483fe0]] | cur |
5 | 2 | [[#a3483fe0]] | i |