Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.971 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 43 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CodeRefactoringUtil.java |
2 | 4 | 86 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java |
| ||||
SelectionAnalyzer analyzer = new SelectionAnalyzer(Selection.createFromStartLength(selectionStart, selectionLength), true); cuNode.accept(analyzer); ASTNode coveringNode = analyzer.getLastCoveringNode(); |
| ||||
SelectionAnalyzer analyzer = new SelectionAnalyzer(Selection.createFromStartLength(start, length), true); cuNode.accept(analyzer); //XXX workaround for jdt core feature 23527 ASTNode node = analyzer.getFirstSelectedNode(); |
| |||
SelectionAnalyzer analyzer = new SelectionAnalyzer(Selection.createFromStartLength( [[#variable526c17a0]], [[#variable526c1700]]), true); cuNode.accept(analyzer); //XXX workaround for jdt core feature 23527 ASTNode [[#variable526c1340]]= analyzer. [[#variable526c1760]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#526c17a0]] | start |
1 | 2 | [[#526c17a0]] | selectionStart |
2 | 1 | [[#526c1700]] | length |
2 | 2 | [[#526c1700]] | selectionLength |
3 | 1 | [[#526c1340]] | node |
3 | 2 | [[#526c1340]] | coveringNode |
4 | 1 | [[#526c1760]] | getFirstSelectedNode |
4 | 2 | [[#526c1760]] | getLastCoveringNode |