Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.956 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 2805 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java |
2 | 4 | 2816 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java |
| |||||
private static final boolean regionMatches(String text, int offset, int limit, int offset2, int partlen) { if (limit - offset < partlen) return false; return text.regionMatches(offset, text, offset2, partlen); } |
| |||||
private static final boolean regionMatchesIgnoreCase(String text, int offset, int limit, int offset2, int partlen) { if (limit - offset < partlen) return false; return text.regionMatches(true, offset, text, offset2, partlen); } |
| |||
private static final boolean [[#variable1738ef40]](String text, int offset, int limit, int offset2, int partlen) { if (limit - offset < partlen) return false; return text.regionMatches( [[#variable1738eee0]], text, offset2, partlen); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1738ef40]] | regionMatches |
1 | 2 | [[#1738ef40]] | regionMatchesIgnoreCase |
2 | 1 | [[#1738eee0]] | offset |
2 | 2 | [[#1738eee0]] | true, offset |