Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.964 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 85 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameUserInterfaceStarter.java |
2 | 6 | 2225 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java |
| ||||
if (selectionProvider == null) return; ISelection s = selectionProvider.getSelection(); if ( !(s instanceof IStructuredSelection)) return; |
| ||||
if (selectionProvider == null) return; ISelection textSelection = selectionProvider.getSelection(); if ( !(textSelection instanceof ITextSelection)) return; |
| |||
if (selectionProvider == null) return; ISelection [[#variableb6803320]]= selectionProvider.getSelection(); if ( !( [[#variableb6803320]]instanceof [[#variableb68033a0]])) return; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b6803320]] | s |
1 | 2 | [[#b6803320]] | textSelection |
2 | 1 | [[#b68033a0]] | IStructuredSelection |
2 | 2 | [[#b68033a0]] | ITextSelection |