| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 3 | 0.977 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 921 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java |
| 2 | 7 | 933 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java |
| ||||
if ( fileSet == null)
{
fileSet = new HashSet();
_parentFile2GeneratedFiles.put( parentFile, fileSet);
}
if (fileSet.add( generatedFile)) {
// Mark the maps as dirty, so that we can store them later
_mapsDirty = true;
}
|
| ||||
if ( fileSet == null)
{
fileSet = new HashSet();
_generatedFile2ParentFiles.put( generatedFile, fileSet);
}
if (fileSet.add( parentFile)) {
_mapsDirty = true;
}
|
| |||
if (fileSet == null) {
fileSet = new HashSet();
[[#variable9e72dc20]].put( [[#variable9e776020]], fileSet);
}
if (fileSet.add( [[#variable9e72dc80]])) {
// Mark the maps as dirty, so that we can store them later
_mapsDirty = true;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9e72dc20]] | _generatedFile2ParentFiles |
| 1 | 2 | [[#9e72dc20]] | _parentFile2GeneratedFiles |
| 2 | 1 | [[#9e776020]] | generatedFile |
| 2 | 2 | [[#9e776020]] | parentFile |
| 3 | 1 | [[#9e72dc80]] | parentFile |
| 3 | 2 | [[#9e72dc80]] | generatedFile |