CloneSet878


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8401.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1885
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
27320
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
37456
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
47555
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
Clone Instance
1
Line Count
8
Source Line
85
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

        int[] commentRange = {
                              -1, -1
              };
        if (javaDocPositions != null) {
                int length = javaDocPositions.length;
                commentRange[0] = javaDocPositions[length - 2];
                commentRange[1] = javaDocPositions[length - 1];
        }
        int[] modifiersRange = {
                                -1, -1
              };


Clone Instance
2
Line Count
7
Source Line
320
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

        int[] commentRange = {
                              -1, -1
              };
        if (javaDocPositions != null) {
                int length = javaDocPositions.length;
                commentRange[0] = javaDocPositions[length - 2]; // get last javadoc comment (see bug 68772)
                commentRange[1] = javaDocPositions[length - 1];
        }
        int[] modifiersRange = {
                                -1, -1
              };


Clone Instance
3
Line Count
7
Source Line
456
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

        int[] commentRange = {
                              -1, -1
              }; if (javaDocPositions != null) {
                         int length = javaDocPositions.length;
                         commentRange[0] = javaDocPositions[length - 2]; // get last javadoc comment (see bug 68772)
                         commentRange[1] = javaDocPositions[length - 1];
                 }
        int[] modifiersRange = {
                                -1, -1
              };


Clone Instance
4
Line Count
7
Source Line
555
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

                int[] commentRange = {
                                      -1, -1
                      };
                if (javaDocPositions != null) {
                        int length = javaDocPositions.length;
                        commentRange[0] = javaDocPositions[length - 2];  // get last javadoc comment (see bug 68772)
                        commentRange[1] = javaDocPositions[length - 1];
                }
                int[] modifiersRange = {
                                        -1, -1
                      };


Clone AbstractionParameter Count: 0Parameter Bindings

int[] commentRange = {
        -1,
        -1
      };
if (javaDocPositions != null) {
  int length = javaDocPositions.length;
  commentRange[0] = javaDocPositions[length - 2]; // get last javadoc comment (see bug 68772)
  commentRange[1] = javaDocPositions[length - 1];
}
int[] modifiersRange = {
        -1,
        -1
      };
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None