Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 2 | 0.961 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 214 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java |
2 | 1 | 430 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java |
| ||||
// initialize a scanner this.scanner = new Scanner( true /*comment*/ , true /*whitespace*/ , false /*nls*/ , ClassFileConstants.JDK1_3 /*sourceLevel*/ , ClassFileConstants.JDK1_5 /*complianceLevel*/ , null /*taskTag*/ , null /*taskPriorities*/ , true /*taskCaseSensitive*/ ); |
| ||||
// scanner use to check if the kind could be K_JAVA_DOC, K_MULTI_LINE_COMMENT or K_SINGLE_LINE_COMMENT ProbingScanner = new Scanner(true, true, false /*nls*/ , ClassFileConstants.JDK1_3, ClassFileConstants.JDK1_3, null /*taskTags*/ , null /*taskPriorities*/ , true /*taskCaseSensitive*/ ); |
| |||
[[#variable968a0b00]]= new Scanner(true /*comment*/ , true /*whitespace*/ , false /*nls*/ , ClassFileConstants.JDK1_3 /*sourceLevel*/ , ClassFileConstants. [[#variable968a0a60]] /*complianceLevel*/ , null /*taskTags*/ /*taskTag*/ , null /*taskPriorities*/ , true /*taskCaseSensitive*/ ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#968a0b00]] | // scanner use to check if the kind could be K_JAVA_DOC, K_MULTI_LINE_COMMENT or K_SINGLE_LINE_COMMENT ProbingScanner |
1 | 2 | [[#968a0b00]] | // initialize a scanner this.scanner |
2 | 1 | [[#968a0a60]] | JDK1_3 |
2 | 2 | [[#968a0a60]] | JDK1_5 |