Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.961 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 98 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/JUnitModel.java |
2 | 3 | 558 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
3 | 4 | 126 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/TextMatchUpdater.java |
| ||||
IJavaElement element = JavaCore.create(typeStr); if ( ! (element instanceof IType)) return; |
| ||||
IJavaElement element = JavaCore.create(resource); if ( ! (element instanceof ICompilationUnit)) continue ; |
| ||||
IJavaElement element = JavaCore.create(resource); // don't start pm task (flickering label updates; finally {pm.done()} is enough) if ( !(element instanceof ICompilationUnit)) return; |
| |||
IJavaElement element = JavaCore.create( [[#variable6003e6c0]]); // don't start pm task (flickering label updates; finally {pm.done()} is enough) if ( !(element instanceof [[#variable6003e5c0]])) [[#variable6003e1a0]] |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6003e6c0]] | resource |
1 | 2 | [[#6003e6c0]] | typeStr |
1 | 3 | [[#6003e6c0]] | resource |
2 | 1 | [[#6003e5c0]] | ICompilationUnit |
2 | 2 | [[#6003e5c0]] | IType |
2 | 3 | [[#6003e5c0]] | ICompilationUnit |
3 | 1 | [[#6003e1a0]] | continue ; |
3 | 2 | [[#6003e1a0]] | return; |
3 | 3 | [[#6003e1a0]] | return; |