Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 3 | 0.956 | conditional_and_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 494 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
2 | 1 | 867 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
3 | 1 | 447 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateHashCodeEqualsAction.java |
| ||||
objms[i].getName().equals(METHODNAME_HASH_CODE) && objms[i].getParameterTypes().length == 0 |
| ||||
objms[i].getName().equals(METHODNAME_EQUALS) && objms[i].getParameterTypes().length == 1 |
| ||||
declaredMethods[i].getName().equals(METHODNAME_HASH_CODE) && declaredMethods[i].getParameterTypes().length == 0 |
| |||
[[#variableb0d1f4a0]][i].getName().equals( [[#variableb0d1f440]]) && [[#variableb0d1f4a0]][i].getParameterTypes().length == [[#variableb0d1f3a0]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b0d1f4a0]] | declaredMethods |
1 | 2 | [[#b0d1f4a0]] | objms |
1 | 3 | [[#b0d1f4a0]] | objms |
2 | 1 | [[#b0d1f440]] | METHODNAME_HASH_CODE |
2 | 2 | [[#b0d1f440]] | METHODNAME_EQUALS |
2 | 3 | [[#b0d1f440]] | METHODNAME_HASH_CODE |
3 | 1 | [[#b0d1f3a0]] | 0 |
3 | 2 | [[#b0d1f3a0]] | 1 |
3 | 3 | [[#b0d1f3a0]] | 0 |