CloneSet4076


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.976executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110378
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/IncrementalImageBuilder.java
210388
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/IncrementalImageBuilder.java
Clone Instance
1
Line Count
10
Source Line
378
Source File
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$
                                                                                           }


Clone Instance
2
Line Count
10
Source Line
388
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/IncrementalImageBuilder.java

                                               {
                                                // 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$
                                               }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  // 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94d21e80]]
newState 
12[[#94d21e80]]
nameEnvironment 
21[[#94d21e00]]
isKnownPackage 
22[[#94d21e00]]
isPackage 
31[[#94d21da0]]
"Found added package " 
32[[#94d21da0]]
"Found removed package " 
41[[#94d21d40]]
"Skipped dependents of added package " 
42[[#94d21d40]]
"Skipped dependents of removed package "