Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.963 | class_body |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1885 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java |
2 | 3 | 1127 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java |
| ||||
{ public int compare(Object a, Object b) { return ((JavaElement) a).toStringWithAncestors().compareTo(((JavaElement) b).toStringWithAncestors()); } } |
| ||||
{ public int compare(Object a, Object b) { return ((SearchDocument) a).getPath().compareTo(((SearchDocument) b).getPath()); } } |
| |||
{ public int compare(Object a, Object b) { return (( [[#variable63eb6880]]) a). [[#variable63eb6be0]]().compareTo((( [[#variable63eb6880]]) b). [[#variable63eb6be0]]()); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63eb6880]] | SearchDocument |
1 | 2 | [[#63eb6880]] | JavaElement |
2 | 1 | [[#63eb6be0]] | getPath |
2 | 2 | [[#63eb6be0]] | toStringWithAncestors |