CloneSet689


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.956statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14519
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
24499
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
34452
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java
44961
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
Clone Instance
1
Line Count
4
Source Line
519
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

                        for (int i = 0; i < newProblems.length; i++) {
                                IProblem problem = newProblems[i];
                                if (problem.isError())
                                        result.addEntry(new RefactoringStatusEntry((problem.isError() ? RefactoringStatus.ERROR:  RefactoringStatus.WARNING), problem.getMessage(), new JavaStringStatusContext(newCuSource, new SourceRange(problem))));
                        }


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

                for (int i = 0; i < newProblems.length; i++) {
                        IProblem problem = newProblems[i];
                        if (problem.isError())
                                result.addEntry(new RefactoringStatusEntry((problem.isError() ? RefactoringStatus.ERROR:  RefactoringStatus.WARNING), problem.getMessage(), new JavaStringStatusContext(newCuSource, new SourceRange(problem))));
                }


Clone Instance
3
Line Count
4
Source Line
452
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java

                for (int i = 0; i < newProblems.length; i++) {
                        IProblem problem = newProblems[i];
                        if (problem.isError())
                                result.addEntry(new RefactoringStatusEntry((problem.isError() ? RefactoringStatus.ERROR:  RefactoringStatus.WARNING), problem.getMessage(), new JavaStringStatusContext(newCuSource, new SourceRange(problem))));
                }


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

                for (int i = 0; i < problems.length; i++) {
                        IProblem problem = problems[i];
                        if (shouldReport(problem))
                                result.addEntry(new RefactoringStatusEntry((problem.isError() ? RefactoringStatus.ERROR:  RefactoringStatus.WARNING), problem.getMessage(), new JavaStringStatusContext(newCuSource, new SourceRange(problem))));
                }


Clone AbstractionParameter Count: 2Parameter Bindings

for (int i = 0; i <  [[#variablebf91f900]].length; i++) {
  IProblem problem = [[#variablebf91f900]][i];
  if ( [[#variablebf91f7a0]])
    result.addEntry(new RefactoringStatusEntry((problem.isError() ? RefactoringStatus.ERROR: RefactoringStatus.WARNING), problem.getMessage(), new JavaStringStatusContext(newCuSource, new SourceRange(problem))));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bf91f900]]
newProblems 
12[[#bf91f900]]
problems 
13[[#bf91f900]]
newProblems 
14[[#bf91f900]]
newProblems 
21[[#bf91f7a0]]
problem.isError() 
22[[#bf91f7a0]]
shouldReport(problem) 
23[[#bf91f7a0]]
problem.isError() 
24[[#bf91f7a0]]
problem.isError()