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.979 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 101 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPairMatcher.java |
2 | 4 | 109 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPairMatcher.java |
| ||||
// search for opening peer character next to the activation point for (i = 0; i < fPairs.length; i = i + 2) { if (prevChar == fPairs[i]) { fStartPos = fOffset - 1; pairIndex1 = i; } } |
| ||||
// search for closing peer character next to the activation point for (i = 1; i < fPairs.length; i = i + 2) { if (prevChar == fPairs[i]) { fEndPos = fOffset - 1; pairIndex2 = i; } } |
| |||
// search for opening peer character next to the activation point // search for closing peer character next to the activation point for (i = [[#variable522b9840]]; i < fPairs.length; i = i + 2) { if (prevChar == fPairs[i]) { [[#variable522b8fc0]]= fOffset - 1; [[#variable522b98c0]]= i; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#522b9840]] | 0 |
1 | 2 | [[#522b9840]] | 1 |
2 | 1 | [[#522b8fc0]] | fStartPos |
2 | 2 | [[#522b8fc0]] | fEndPos |
3 | 1 | [[#522b98c0]] | pairIndex1 |
3 | 2 | [[#522b98c0]] | pairIndex2 |