CloneSet5036


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.979statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPairMatcher.java
24109
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPairMatcher.java
Clone Instance
1
Line Count
4
Source Line
101
Source File
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;
                                }
                        }


Clone Instance
2
Line Count
4
Source Line
109
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPairMatcher.java

                        // 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;
                                }
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#522b9840]]
0 
12[[#522b9840]]
1 
21[[#522b8fc0]]
fStartPos 
22[[#522b8fc0]]
fEndPos 
31[[#522b98c0]]
pairIndex1 
32[[#522b98c0]]
pairIndex2