| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 1 | 0.995 | statement_sequence[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 1348 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java |
| 2 | 5 | 1369 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java |
| ||||
CollectingSearchRequestor csr = new CollectingSearchRequestor();
SearchResultGroup[] groups = RefactoringSearchEngine.search(
pattern,
null,
scope,
csr,
new SubProgressMonitor(pm, 80),
new RefactoringStatus() ); //TODO: deal with errors from non-CU matches
fAffectedUnits = getCus(groups);
|
| ||||
CollectingSearchRequestor csr = new CollectingSearchRequestor();
SearchResultGroup[] groups =
RefactoringSearchEngine.search(pattern, null, scope, csr, new SubProgressMonitor(pm, 100),
new RefactoringStatus()); //TODO: deal with errors from non-CU matches
fAffectedUnits = getCus(groups);
|
| |||
CollectingSearchRequestor csr = new CollectingSearchRequestor(); SearchResultGroup[] groups = RefactoringSearchEngine.search(pattern, null, scope, csr, new SubProgressMonitor(pm, [[#variable55b6f580]]), new RefactoringStatus()); //TODO: deal with errors from non-CU matches fAffectedUnits = getCus(groups); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#55b6f580]] | 100 |
| 1 | 2 | [[#55b6f580]] | 80 |