Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 7 | 5 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 39 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddVariableAction.java |
2 | 2 | 194 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaMonitorThread.java |
3 | 2 | 403 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
4 | 2 | 130 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
5 | 2 | 1226 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
6 | 2 | 36 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ParameterizedType.java |
7 | 2 | 66 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/MethodProposalInfo.java |
| ||||
for (int i = 0; i < paths.length; i++) { entries[i] = JavaRuntime.newVariableRuntimeClasspathEntry(paths[i]); } |
| ||||
// if we know it changed, we can just create the new list. for (int i = 0; i < ownedMonitors.length; i++) { tmp[i] = threadMonitorManager.getJavaMonitor(ownedMonitors[i]); } |
| ||||
for (int i = 0; i < excTypeSig.length; i++) { exceptionNames[i] = Signature.toString(excTypeSig[i]); } |
| ||||
for (int i = 0; i < elements.length; i++) { result[i] = ReorgUtils.getResource(elements[i]); } |
| ||||
for (int i = 0; i < fullParamNames.length; i++) { fullParamNames[i] = Bindings.getFullyQualifiedName(params[i]); } |
| ||||
for (int i = 0; i < typeArguments.length; i++) { fTypeArguments[i] = environment.create(typeArguments[i]); } |
| ||||
for (int i = 0; i < parameters.length; i++) { parameters[i] = SignatureUtil.getLowerBound(parameters[i]); } |
| |||
// if we know it changed, we can just create the new list. for (int i = 0; i < [[#variableb8dc95c0]].length; i++) { [[#variableb8dc9580]][i] = [[#variable563b2d20]]. [[#variableb19e9900]]( [[#variableb8dc9500]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8dc95c0]] | paths |
1 | 2 | [[#b8dc95c0]] | ownedMonitors |
1 | 3 | [[#b8dc95c0]] | excTypeSig |
1 | 4 | [[#b8dc95c0]] | elements |
1 | 5 | [[#b8dc95c0]] | fullParamNames |
1 | 6 | [[#b8dc95c0]] | typeArguments |
1 | 7 | [[#b8dc95c0]] | parameters |
2 | 1 | [[#b8dc9580]] | entries |
2 | 2 | [[#b8dc9580]] | tmp |
2 | 3 | [[#b8dc9580]] | exceptionNames |
2 | 4 | [[#b8dc9580]] | result |
2 | 5 | [[#b8dc9580]] | fullParamNames |
2 | 6 | [[#b8dc9580]] | fTypeArguments |
2 | 7 | [[#b8dc9580]] | parameters |
3 | 1 | [[#563b2d20]] | JavaRuntime |
3 | 2 | [[#563b2d20]] | threadMonitorManager |
3 | 3 | [[#563b2d20]] | Signature |
3 | 4 | [[#563b2d20]] | ReorgUtils |
3 | 5 | [[#563b2d20]] | Bindings |
3 | 6 | [[#563b2d20]] | environment |
3 | 7 | [[#563b2d20]] | SignatureUtil |
4 | 1 | [[#b19e9900]] | newVariableRuntimeClasspathEntry |
4 | 2 | [[#b19e9900]] | getJavaMonitor |
4 | 3 | [[#b19e9900]] | toString |
4 | 4 | [[#b19e9900]] | getResource |
4 | 5 | [[#b19e9900]] | getFullyQualifiedName |
4 | 6 | [[#b19e9900]] | create |
4 | 7 | [[#b19e9900]] | getLowerBound |
5 | 1 | [[#b8dc9500]] | paths |
5 | 2 | [[#b8dc9500]] | ownedMonitors |
5 | 3 | [[#b8dc9500]] | excTypeSig |
5 | 4 | [[#b8dc9500]] | elements |
5 | 5 | [[#b8dc9500]] | params |
5 | 6 | [[#b8dc9500]] | typeArguments |
5 | 7 | [[#b8dc9500]] | parameters |