CloneSet696


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.974statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19281
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java
29292
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java
Clone Instance
1
Line Count
9
Source Line
281
Source File
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]);
                }


Clone Instance
2
Line Count
9
Source Line
292
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java

                // 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]);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94dadb60]]
BLOCK_IDX 
12[[#94dadb60]]
INLINE_IDX 
21[[#bc33e1a0]]
BLOCK_ALL_TAGS_LENGTH 
22[[#bc33e1a0]]
INLINE_ALL_TAGS_LENGTH 
31[[#bb1a4d20]]
BLOCK_TAGS 
32[[#bb1a4d20]]
INLINE_TAGS