Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.975 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 2300 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 10 | 4084 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
| ||||
/* * Print the method return type */ final TypeReference returnType = annotationTypeMemberDeclaration.returnType; final MethodScope annotationTypeMemberDeclarationScope = annotationTypeMemberDeclaration.scope; if (returnType != null) { returnType.traverse(this, annotationTypeMemberDeclarationScope); } /* * Print the method name */ this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true); |
| ||||
/* * Print the method return type */ final TypeReference returnType = methodDeclaration.returnType; final MethodScope methodDeclarationScope = methodDeclaration.scope; if (returnType != null) { returnType.traverse(this, methodDeclarationScope); } /* * Print the method name */ this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true); |
| |||
/* * Print the method return type */ final TypeReference returnType = [[#variable606b2200]].returnType; final MethodScope [[#variable6347e2e0]]= [[#variable606b2200]].scope; if (returnType != null) { returnType.traverse(this, [[#variable6347e2e0]]); } /* * Print the method name */ this.scribe.printNextToken(TerminalTokens.TokenNameIdentifier, true); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#606b2200]] | methodDeclaration |
1 | 2 | [[#606b2200]] | annotationTypeMemberDeclaration |
2 | 1 | [[#6347e2e0]] | methodDeclarationScope |
2 | 2 | [[#6347e2e0]] | annotationTypeMemberDeclarationScope |