Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.974 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 281 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java |
2 | 9 | 292 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java |
| ||||
// Init block tags this.levelTags[BLOCK_IDX] = new char[BLOCK_ALL_TAGS_LENGTH][]; this.levelTagsLength[BLOCK_IDX] = 0; for (int i = 0; i <= level; i++) { int length = BLOCK_TAGS[i].length; System.arraycopy(BLOCK_TAGS[i], 0, this.levelTags[BLOCK_IDX], this.levelTagsLength[BLOCK_IDX], length); this.levelTagsLength[BLOCK_IDX] += length; } if (this.levelTagsLength[BLOCK_IDX] < BLOCK_ALL_TAGS_LENGTH) { System.arraycopy(this.levelTags[BLOCK_IDX], 0, this.levelTags[BLOCK_IDX] = new char[this.levelTagsLength[BLOCK_IDX]][], 0, this.levelTagsLength[BLOCK_IDX]); } |
| ||||
// Init inline tags this.levelTags[INLINE_IDX] = new char[INLINE_ALL_TAGS_LENGTH][]; this.levelTagsLength[INLINE_IDX] = 0; for (int i = 0; i <= level; i++) { int length = INLINE_TAGS[i].length; System.arraycopy(INLINE_TAGS[i], 0, this.levelTags[INLINE_IDX], this.levelTagsLength[INLINE_IDX], length); this.levelTagsLength[INLINE_IDX] += length; } if (this.levelTagsLength[INLINE_IDX] < INLINE_ALL_TAGS_LENGTH) { System.arraycopy(this.levelTags[INLINE_IDX], 0, this.levelTags[INLINE_IDX] = new char[this.levelTagsLength[INLINE_IDX]][], 0, this.levelTagsLength[INLINE_IDX]); } |
| |||
// Init block tags // Init inline tags this.levelTags[ [[#variable94dadb60]]] = new char[ [[#variablebc33e1a0]]][]; this.levelTagsLength[ [[#variable94dadb60]]] = 0; for (int i = 0; i <= level; i++) { int length = [[#variablebb1a4d20]][i].length; System.arraycopy( [[#variablebb1a4d20]][i], 0, this.levelTags[ [[#variable94dadb60]]], this.levelTagsLength[ [[#variable94dadb60]]], length); this.levelTagsLength[ [[#variable94dadb60]]] += length; } if (this.levelTagsLength[ [[#variable94dadb60]]] < [[#variablebc33e1a0]]) { System.arraycopy(this.levelTags[ [[#variable94dadb60]]], 0, this.levelTags[ [[#variable94dadb60]]] = new char[this.levelTagsLength[ [[#variable94dadb60]]]][], 0, this.levelTagsLength[ [[#variable94dadb60]]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94dadb60]] | BLOCK_IDX |
1 | 2 | [[#94dadb60]] | INLINE_IDX |
2 | 1 | [[#bc33e1a0]] | BLOCK_ALL_TAGS_LENGTH |
2 | 2 | [[#bc33e1a0]] | INLINE_ALL_TAGS_LENGTH |
3 | 1 | [[#bb1a4d20]] | BLOCK_TAGS |
3 | 2 | [[#bb1a4d20]] | INLINE_TAGS |