Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 2 | 0.980 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 186 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ASTBasedDeclarationImpl.java |
2 | 10 | 103 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/MemberDeclarationImpl.java |
3 | 10 | 106 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeParameterDeclarationImpl.java |
| ||||
{ final ASTNode node = getRangeNode(); if (node == null) return null; final CompilationUnit unit = getCompilationUnit(); final int start = node.getStartPosition(); return new SourcePositionImpl( start, node.getLength(), unit.getLineNumber(start), unit.getColumnNumber(start), this ); } |
| ||||
{ final ASTNode node = getRangeNode(); if (node == null) return null; final CompilationUnit unit = getCompilationUnit(); final int start = node.getStartPosition(); return new SourcePositionImpl(start, node.getLength(), unit.getLineNumber(start), unit.getColumnNumber(start), this ); } |
| ||||
{ final ASTNode node = getAstNode(); if (node == null) return null; final CompilationUnit unit = getCompilationUnit(); final int offset = node.getStartPosition(); return new SourcePositionImpl(offset, node.getLength(), unit.getLineNumber(offset), unit.getColumnNumber(offset), this ); } |
| |||
{ final ASTNode node = [[#variablea0825260]](); if (node == null) return null; final CompilationUnit unit = getCompilationUnit(); final int [[#variablea0825200]]= node.getStartPosition(); return new SourcePositionImpl( [[#variablea0825200]], node.getLength(), unit.getLineNumber( [[#variablea0825200]]), unit.getColumnNumber( [[#variablea0825200]]), this ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0825260]] | getRangeNode |
1 | 2 | [[#a0825260]] | getAstNode |
1 | 3 | [[#a0825260]] | getRangeNode |
2 | 1 | [[#a0825200]] | start |
2 | 2 | [[#a0825200]] | offset |
2 | 3 | [[#a0825200]] | start |