Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 4 | 0.955 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 221 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaElementResourceMapping.java |
2 | 3 | 424 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
| ||||
for (int i = 0; i < files.length; i++) { visitor.visit(files[i]); monitor.worked(1); } |
| ||||
for (int i = 0; i < changes.length; i++) { result.add(changes[i]); pm.worked(1); } |
| |||
for (int i = 0; i < [[#variable61677240]].length; i++) { [[#variable61677180]]. [[#variable61677100]]( [[#variable61677240]][i]); [[#variable616770a0]].worked(1); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#61677240]] | files |
1 | 2 | [[#61677240]] | changes |
2 | 1 | [[#61677180]] | visitor |
2 | 2 | [[#61677180]] | result |
3 | 1 | [[#61677100]] | visit |
3 | 2 | [[#61677100]] | add |
4 | 1 | [[#616770a0]] | monitor |
4 | 2 | [[#616770a0]] | pm |