| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 3 | 3 | 0.971 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 117 | plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java |
| 2 | 6 | 129 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathDirectory.java |
| 3 | 6 | 98 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ClasspathSourceDirectory.java |
| ||||
public boolean isPackage(String qualifiedPackageName) {
return directoryList(qualifiedPackageName) != null;
}
public void reset() {
this.directoryCache = new Hashtable(11);
}
|
| ||||
public boolean isPackage(String qualifiedPackageName) {
return directoryList(qualifiedPackageName) != null;
}
public void reset() {
this.directoryCache = new SimpleLookupTable(5);
}
|
| ||||
public boolean isPackage(String qualifiedPackageName) {
return directoryTable(qualifiedPackageName) != null;
}
public void reset() {
this.directoryCache = new SimpleLookupTable(5);
}
|
| |||
public boolean isPackage(String qualifiedPackageName) {
return [[#variable4e7aebe0]](qualifiedPackageName) != null;
}
public void reset() {
this.directoryCache = new [[#variable4e7ae300]]( [[#variable4e7ae320]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#4e7aebe0]] | directoryList |
| 1 | 2 | [[#4e7aebe0]] | directoryTable |
| 1 | 3 | [[#4e7aebe0]] | directoryList |
| 2 | 1 | [[#4e7ae300]] | Hashtable |
| 2 | 2 | [[#4e7ae300]] | SimpleLookupTable |
| 2 | 3 | [[#4e7ae300]] | SimpleLookupTable |
| 3 | 1 | [[#4e7ae320]] | 11 |
| 3 | 2 | [[#4e7ae320]] | 5 |
| 3 | 3 | [[#4e7ae320]] | 5 |