CloneSet6878


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.953statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15580
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java
25634
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
Clone Instance
1
Line Count
5
Source Line
580
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java

                for (int i = 0; i < fDuplicates.length; i++) {
                        if ( !fDuplicates[i].isMethodBody())
                                result++;
                }
                return result;


Clone Instance
2
Line Count
5
Source Line
634
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java

                for (int i = 0; i < matches.length; i++) {
                        if ( !matches[i].isFiltered())
                                count++;
                }
                return count;


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i <  [[#variable53afdfa0]].length; i++) {
  if ( ! [[#variable53afdfa0]][i]. [[#variable53c02020]]())
     [[#variable53afdf40]]++;
}
return [[#variable53afdf40]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53afdfa0]]
fDuplicates 
12[[#53afdfa0]]
matches 
21[[#53c02020]]
isMethodBody 
22[[#53c02020]]
isFiltered 
31[[#53afdf40]]
result 
32[[#53afdf40]]
count