Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 4 | 0.976 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 378 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/IncrementalImageBuilder.java |
2 | 10 | 388 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/IncrementalImageBuilder.java |
| ||||
{ // see if any known source file is from the same package... classpath already includes new package if ( !newState.isKnownPackage(packageName)) { if (JavaBuilder.DEBUG) System.out.println("Found added package " + packageName); //$NON-NLS-1$ addDependentsOf(packagePath, false); return; } if (JavaBuilder.DEBUG) System.out.println("Skipped dependents of added package " + packageName); //$NON-NLS-1$ } |
| ||||
{ // see if the package still exists on the classpath if ( !nameEnvironment.isPackage(packageName)) { if (JavaBuilder.DEBUG) System.out.println("Found removed package " + packageName); //$NON-NLS-1$ addDependentsOf(packagePath, false); return; } if (JavaBuilder.DEBUG) System.out.println("Skipped dependents of removed package " + packageName); //$NON-NLS-1$ } |
| |||
{ // see if any known source file is from the same package... classpath already includes new package // see if the package still exists on the classpath if ( ! [[#variable94d21e80]]. [[#variable94d21e00]](packageName)) { if (JavaBuilder.DEBUG) System.out.println( [[#variable94d21da0]] + packageName); //$NON-NLS-1$ addDependentsOf(packagePath, false); return; } if (JavaBuilder.DEBUG) System.out.println( [[#variable94d21d40]] + packageName); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94d21e80]] | newState |
1 | 2 | [[#94d21e80]] | nameEnvironment |
2 | 1 | [[#94d21e00]] | isKnownPackage |
2 | 2 | [[#94d21e00]] | isPackage |
3 | 1 | [[#94d21da0]] | "Found added package " |
3 | 2 | [[#94d21da0]] | "Found removed package " |
4 | 1 | [[#94d21d40]] | "Skipped dependents of added package " |
4 | 2 | [[#94d21d40]] | "Skipped dependents of removed package " |