Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 516 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java |
2 | 4 | 200 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java |
| ||||
if (fImportRewriter.hasRecordedChanges()) { TextEdit edit = fImportRewriter.rewriteImports(null); root.addChild(edit); result.addTextEditGroup(new TextEditGroup( RefactoringCoreMessages.ExtractMethodRefactoring_organize_imports, new TextEdit[] { edit } )); } |
| ||||
if (fImportRewrite.hasRecordedChanges()) { TextEdit edit = fImportRewrite.rewriteImports(null); root.addChild(edit); result.addTextEditGroup(new TextEditGroup(NN, new TextEdit[] { edit } )); } |
| |||
if ( [[#variable597f5400]].hasRecordedChanges()) { TextEdit edit = [[#variable597f5400]].rewriteImports(null); root.addChild(edit); result.addTextEditGroup(new TextEditGroup( [[#variable597f5380]], new TextEdit[] { edit } )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#597f5400]] | fImportRewrite |
1 | 2 | [[#597f5400]] | fImportRewriter |
2 | 1 | [[#597f5380]] | NN |
2 | 2 | [[#597f5380]] | RefactoringCoreMessages.ExtractMethodRefactoring_organize_imports |