Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.952 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1994 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
2 | 7 | 2084 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
3 | 7 | 2098 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java |
| ||||
IClassFileAttribute[] attributes = classFileReader.getAttributes(); for (int i = 0, max = attributes.length; i < max; i++) { if (CharOperation.equals(attributes[i].getAttributeName(), IAttributeNamesConstants.ENCLOSING_METHOD)) { return (IEnclosingMethodAttribute) attributes[i]; } } return null; |
| ||||
IClassFileAttribute[] attributes = classFileReader.getAttributes(); for (int i = 0, max = attributes.length; i < max; i++) { if (CharOperation.equals(attributes[i].getAttributeName(), IAttributeNamesConstants.DEPRECATED)) { return true; } } return false; |
| ||||
IClassFileAttribute[] attributes = classFileReader.getAttributes(); for (int i = 0, max = attributes.length; i < max; i++) { if (CharOperation.equals(attributes[i].getAttributeName(), IAttributeNamesConstants.SYNTHETIC)) { return true; } } return false; |
| |||
IClassFileAttribute[] attributes = classFileReader.getAttributes(); for (int i = 0, max = attributes.length; i < max; i++) { if (CharOperation.equals(attributes[i].getAttributeName(), IAttributeNamesConstants. [[#variable9e292720]])) { return [[#variable9e292740]]; } } return [[#variable9e292700]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e292720]] | SYNTHETIC |
1 | 2 | [[#9e292720]] | DEPRECATED |
1 | 3 | [[#9e292720]] | ENCLOSING_METHOD |
2 | 1 | [[#9e292740]] | true |
2 | 2 | [[#9e292740]] | true |
2 | 3 | [[#9e292740]] | (IEnclosingMethodAttribute) attributes[i] |
3 | 1 | [[#9e292700]] | false |
3 | 2 | [[#9e292700]] | false |
3 | 3 | [[#9e292700]] | null |