Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.955 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 169 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClassFile.java |
2 | 4 | 26 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathAttribute.java |
| ||||
public boolean equals(Object o) { if ( !(o instanceof ClassFile)) return false; ClassFile other = (ClassFile) o; return this.name.equals(other.name) && this.parent.equals(other.parent); } |
| ||||
public boolean equals(Object obj) { if ( !(obj instanceof ClasspathAttribute)) return false; ClasspathAttribute other = (ClasspathAttribute) obj; return this.name.equals(other.name) && this.value.equals(other.value); } |
| |||
public boolean equals(Object [[#variableb1922a40]]) { if ( !( [[#variableb1922a40]]instanceof [[#variableb19229c0]])) return false; [[#variableb19229c0]] other = ( [[#variableb19229c0]]) [[#variableb1922a40]]; return this.name.equals(other.name) && this. [[#variableb1922940]].equals(other. [[#variableb1922940]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b1922a40]] | obj |
1 | 2 | [[#b1922a40]] | o |
2 | 1 | [[#b19229c0]] | ClasspathAttribute |
2 | 2 | [[#b19229c0]] | ClassFile |
3 | 1 | [[#b1922940]] | value |
3 | 2 | [[#b1922940]] | parent |