CloneSet1556


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3350.955statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14515
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
23496
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
33957
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
Clone Instance
1
Line Count
4
Source Line
515
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

                        String newCuSource = fChange.getPreviewContent(new NullProgressMonitor());
                        CompilationUnit newCUNode = new RefactoringASTParser(AST.JLS3).parse(newCuSource, fCu, true, true, null);

                        IProblem[] newProblems = RefactoringAnalyzeUtil.getIntroducedCompileProblems(newCUNode, fCuRewrite.getRoot());


Clone Instance
2
Line Count
3
Source Line
496
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

                String newCuSource = change.getPreviewContent(new NullProgressMonitor());
                CompilationUnit newCUNode = new RefactoringASTParser(AST.JLS3).parse(newCuSource, fCu, true, true, null);
                IProblem[] newProblems = RefactoringAnalyzeUtil.getIntroducedCompileProblems(newCUNode, fCompilationUnitNode);


Clone Instance
3
Line Count
3
Source Line
957
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

                String newCuSource = change.getPreviewContent(new NullProgressMonitor());
                CompilationUnit newCUNode = new RefactoringASTParser(AST.JLS3).parse(newCuSource, cu, true, false, null);
                IProblem[] problems = RefactoringAnalyzeUtil.getIntroducedCompileProblems(newCUNode, fBaseCuRewrite.getRoot());


Clone AbstractionParameter Count: 5Parameter Bindings

String newCuSource = [[#variableb9d98700]].getPreviewContent(new NullProgressMonitor());
CompilationUnit newCUNode = new RefactoringASTParser(AST.JLS3).parse(newCuSource,  [[#variablebbbfe340]], true,  [[#variableb9d98620]], null);
IProblem[]  [[#variableb9d982a0]]= RefactoringAnalyzeUtil.getIntroducedCompileProblems(newCUNode,  [[#variableb9d98680]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9d98700]]
change 
12[[#b9d98700]]
fChange 
13[[#b9d98700]]
change 
21[[#bbbfe340]]
cu 
22[[#bbbfe340]]
fCu 
23[[#bbbfe340]]
fCu 
31[[#b9d98620]]
false 
32[[#b9d98620]]
true 
33[[#b9d98620]]
true 
41[[#b9d982a0]]
problems 
42[[#b9d982a0]]
newProblems 
43[[#b9d982a0]]
newProblems 
51[[#b9d98680]]
fBaseCuRewrite.getRoot() 
52[[#b9d98680]]
fCuRewrite.getRoot() 
53[[#b9d98680]]
fCompilationUnitNode