Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.976 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 578 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
2 | 5 | 613 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
3 | 6 | 732 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
| ||||
SourceRange range = getExtendedRange(node); int offset = range.getStartPosition(); int length = range.getLength(); doTextRemoveAndVisit(offset, length, node, editGroup); doTextInsert(offset, (ASTNode) event.getNewValue(), getIndent(offset), true, editGroup); |
| ||||
SourceRange range = getExtendedRange(node); int nodeOffset = range.getStartPosition(); int nodeLen = range.getLength(); doTextRemoveAndVisit(nodeOffset, nodeLen, node, editGroup); doTextInsert(nodeOffset, (ASTNode) event.getNewValue(), getIndent(offset), true, editGroup); |
| ||||
SourceRange range = getExtendedRange(node); int offset = range.getStartPosition(); int length = range.getLength(); doTextRemoveAndVisit(offset, length, node, editGroup); doTextInsert(offset, (ASTNode) event.getNewValue(), getIndent(startPos), true, editGroup); |
| |||
SourceRange range = getExtendedRange(node); int [[#variable609822a0]]= range.getStartPosition(); int [[#variablea0f93a20]]= range.getLength(); doTextRemoveAndVisit( [[#variable609822a0]], [[#variablea0f93a20]], node, editGroup); doTextInsert( [[#variable609822a0]], (ASTNode) event.getNewValue(), getIndent( [[#variable609822c0]]), true, editGroup); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#609822a0]] | offset |
1 | 2 | [[#609822a0]] | offset |
1 | 3 | [[#609822a0]] | nodeOffset |
2 | 1 | [[#a0f93a20]] | length |
2 | 2 | [[#a0f93a20]] | length |
2 | 3 | [[#a0f93a20]] | nodeLen |
3 | 1 | [[#609822c0]] | offset |
3 | 2 | [[#609822c0]] | startPos |
3 | 3 | [[#609822c0]] | offset |