CloneSet2829


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.957statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15252
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java
25283
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java
Clone Instance
1
Line Count
5
Source Line
252
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java

                HashSet writtenNames = new HashSet();
                WrittenNamesFinder finder = new WrittenNamesFinder(writtenNames);
                compilationUnit.accept(finder);
                List ops = new ArrayList();
                VariableDeclarationFinder visitor = new VariableDeclarationFinder(true, true, true, compilationUnit, ops, writtenNames);


Clone Instance
2
Line Count
5
Source Line
283
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java

                HashSet writtenNames = new HashSet();
                WrittenNamesFinder finder = new WrittenNamesFinder(writtenNames);
                compilationUnit.accept(finder);
                List operations = new ArrayList();
                VariableDeclarationFinder visitor = new VariableDeclarationFinder(addFinalFields, addFinalParameters, addFinalLocals, compilationUnit, operations, writtenNames);


Clone AbstractionParameter Count: 4Parameter Bindings

HashSet writtenNames = new HashSet();
WrittenNamesFinder finder = new WrittenNamesFinder(writtenNames);
compilationUnit.accept(finder);
List  [[#variable94abf820]]= new ArrayList();
VariableDeclarationFinder visitor = new VariableDeclarationFinder( [[#variable94abefa0]],  [[#variable94abf740]],  [[#variable94abf840]], compilationUnit,  [[#variable94abf820]], writtenNames);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94abf820]]
operations 
12[[#94abf820]]
ops 
21[[#94abefa0]]
addFinalFields 
22[[#94abefa0]]
true 
31[[#94abf740]]
addFinalParameters 
32[[#94abf740]]
true 
41[[#94abf840]]
addFinalLocals 
42[[#94abf840]]
true