Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 6 | 0.966 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 741 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java |
2 | 16 | 771 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java |
| ||||
{ if (this.fieldsCount != otherFieldInfosLength && !excludesSynthetic) return true; if (orderRequired) { if (this.fieldsCount != 0) Arrays.sort(this.fields); if (otherFieldInfosLength != 0) Arrays.sort(otherFieldInfos); } if (excludesSynthetic) { if (hasNonSyntheticFieldChanges(this.fields, otherFieldInfos)) return true; } else { for (int i = 0; i < this.fieldsCount; i++) if (hasStructuralFieldChanges(this.fields[i], otherFieldInfos[i])) return true; } } |
| ||||
{ if (this.methodsCount != otherMethodInfosLength && !excludesSynthetic) return true; if (orderRequired) { if (this.methodsCount != 0) Arrays.sort(this.methods); if (otherMethodInfosLength != 0) Arrays.sort(otherMethodInfos); } if (excludesSynthetic) { if (hasNonSyntheticMethodChanges(this.methods, otherMethodInfos)) return true; } else { for (int i = 0; i < this.methodsCount; i++) if (hasStructuralMethodChanges(this.methods[i], otherMethodInfos[i])) return true; } } |
| |||
{ if (this. [[#variable527f2da0]]!= [[#variable527f2d40]]&& !excludesSynthetic) return true; if (orderRequired) { if (this. [[#variable527f2da0]]!= 0) Arrays.sort(this. [[#variable527f2c80]]); if ( [[#variable527f2d40]]!= 0) Arrays.sort( [[#variable527f2c20]]); } if (excludesSynthetic) { if ( [[#variable527f2bc0]](this. [[#variable527f2c80]], [[#variable527f2c20]])) return true; } else { for (int i = 0; i < this. [[#variable527f2da0]]; i++) if ( [[#variable527f2ae0]](this. [[#variable527f2c80]][i], [[#variable527f2c20]][i])) return true; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#527f2da0]] | methodsCount |
1 | 2 | [[#527f2da0]] | fieldsCount |
2 | 1 | [[#527f2d40]] | otherMethodInfosLength |
2 | 2 | [[#527f2d40]] | otherFieldInfosLength |
3 | 1 | [[#527f2c80]] | methods |
3 | 2 | [[#527f2c80]] | fields |
4 | 1 | [[#527f2c20]] | otherMethodInfos |
4 | 2 | [[#527f2c20]] | otherFieldInfos |
5 | 1 | [[#527f2bc0]] | hasNonSyntheticMethodChanges |
5 | 2 | [[#527f2bc0]] | hasNonSyntheticFieldChanges |
6 | 1 | [[#527f2ae0]] | hasStructuralMethodChanges |
6 | 2 | [[#527f2ae0]] | hasStructuralFieldChanges |