Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.985 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2031 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
2 | 5 | 2044 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
| ||||
if (isChanged(node, ForStatement.INITIALIZERS_PROPERTY)) { // position after opening parent int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameLPAREN, pos); pos = rewriteNodeList(node, ForStatement.INITIALIZERS_PROPERTY, startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ } else { pos = doVisit(node, ForStatement.INITIALIZERS_PROPERTY, pos); } |
| ||||
if (isChanged(node, ForStatement.UPDATERS_PROPERTY)) { int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols.TokenNameSEMICOLON, pos); pos = rewriteNodeList(node, ForStatement.UPDATERS_PROPERTY, startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ } else { pos = doVisit(node, ForStatement.UPDATERS_PROPERTY, pos); } |
| |||
if (isChanged(node, ForStatement. [[#variable52f72f40]])) { // position after opening parent int startOffset = getScanner().getTokenEndOffset(ITerminalSymbols. [[#variable52f72e20]], pos); pos = rewriteNodeList(node, ForStatement. [[#variable52f72f40]], startOffset, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ } else { pos = doVisit(node, ForStatement. [[#variable52f72f40]], pos); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52f72f40]] | INITIALIZERS_PROPERTY |
1 | 2 | [[#52f72f40]] | UPDATERS_PROPERTY |
2 | 1 | [[#52f72e20]] | TokenNameLPAREN |
2 | 2 | [[#52f72e20]] | TokenNameSEMICOLON |