Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 5 | 0.954 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 74 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/Standard11xVMRunner.java |
2 | 15 | 181 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionLaunchConfigurationDelegate.java |
| ||||
combinedPath = new String[bootCP.length + classPath.length]; int offset = 0; for (int i = 0; i < bootCP.length; i++) { combinedPath[offset] = bootCP[i]; offset++; } for (int i = 0; i < classPath.length; i++) { combinedPath[offset] = classPath[i]; offset++; } if (combinedPath.length > 0) { arguments.add("-classpath"); //$NON-NLS-1$ arguments.add(convertClassPath(combinedPath)); } arguments.add(config.getClassToLaunch()); |
| ||||
combinedClassPath = new String[bootClassPath.length + classPath.length]; int offset = 0; for (int index = 0; index < bootClassPath.length; index++) { combinedClassPath[offset] = bootClassPath[index]; offset++; } for (int index = 0; index < classPath.length; index++) { combinedClassPath[offset] = classPath[index]; offset++; } if (combinedClassPath.length > 0) { arguments.add("-classpath"); //$NON-NLS-1$ arguments.add(flattenClassPath(combinedClassPath)); } arguments.add(configuration.getClassToLaunch()); |
| |||
[[#variablec29ef0e0]]= new String[ [[#variableb6664400]].length + classPath.length]; int offset = 0; for (int [[#variableb6664ee0]]= 0; [[#variableb6664ee0]] < [[#variableb6664400]].length; [[#variableb6664ee0]]++) { [[#variablec29ef0e0]][offset] = [[#variableb6664400]][ [[#variableb6664ee0]]]; offset++; } for (int [[#variableb6664ee0]]= 0; [[#variableb6664ee0]] < classPath.length; [[#variableb6664ee0]]++) { [[#variablec29ef0e0]][offset] = classPath[ [[#variableb6664ee0]]]; offset++; } if ( [[#variablec29ef0e0]].length > 0) { arguments.add("-classpath"); //$NON-NLS-1$ arguments.add( [[#variableb9c69a80]]( [[#variablec29ef0e0]])); } arguments.add( [[#variableb6664ec0]].getClassToLaunch()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c29ef0e0]] | combinedPath |
1 | 2 | [[#c29ef0e0]] | combinedClassPath |
2 | 1 | [[#b6664400]] | bootCP |
2 | 2 | [[#b6664400]] | bootClassPath |
3 | 1 | [[#b6664ee0]] | i |
3 | 2 | [[#b6664ee0]] | index |
4 | 1 | [[#b9c69a80]] | convertClassPath |
4 | 2 | [[#b9c69a80]] | flattenClassPath |
5 | 1 | [[#b6664ec0]] | config |
5 | 2 | [[#b6664ec0]] | configuration |