| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 4 | 2 | 0.956 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 519 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
| 2 | 4 | 499 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
| 3 | 4 | 452 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java |
| 4 | 4 | 961 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.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))));
}
|
| ||||
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))));
}
|
| ||||
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))));
}
|
| ||||
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))));
}
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bf91f900]] | newProblems |
| 1 | 2 | [[#bf91f900]] | problems |
| 1 | 3 | [[#bf91f900]] | newProblems |
| 1 | 4 | [[#bf91f900]] | newProblems |
| 2 | 1 | [[#bf91f7a0]] | problem.isError() |
| 2 | 2 | [[#bf91f7a0]] | shouldReport(problem) |
| 2 | 3 | [[#bf91f7a0]] | problem.isError() |
| 2 | 4 | [[#bf91f7a0]] | problem.isError() |