CloneSet136


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
101010.997class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11050
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
21061
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
31072
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
41083
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
51094
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
610105
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
710116
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
810127
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
910138
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
1010149
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java
Clone Instance
1
Line Count
10
Source Line
50
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(ASTNode node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
2
Line Count
10
Source Line
61
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(ConstructorDeclaration node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
3
Line Count
10
Source Line
72
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(Expression node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
4
Line Count
10
Source Line
83
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(FieldDeclaration node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
5
Line Count
10
Source Line
94
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(LocalDeclaration node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
6
Line Count
10
Source Line
105
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(MethodDeclaration node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
7
Line Count
10
Source Line
116
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(MessageSend node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
8
Line Count
10
Source Line
127
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(Reference node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
9
Line Count
10
Source Line
138
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(TypeDeclaration node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone Instance
10
Line Count
10
Source Line
149
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java

public int match(TypeReference node, MatchingNodeSet nodeSet) {
        int level = IMPOSSIBLE_MATCH;
        for (int i = 0, length = this.patternLocators.length; i < length; i++) {
                int newLevel = this.patternLocators[i].match(node, nodeSet);
                if (newLevel > level) {
                        if (newLevel == ACCURATE_MATCH) return ACCURATE_MATCH;
                        level = newLevel;
                }
        }
        return level;
}


Clone AbstractionParameter Count: 1Parameter Bindings

public int match( [[#variableb8448b40]] node, MatchingNodeSet nodeSet) {
  int level = IMPOSSIBLE_MATCH;
  for (int i = 0, length = this.patternLocators.length; i < length; i++) {
    int newLevel = this.patternLocators[i].match(node, nodeSet);
    if (newLevel > level) {
      if (newLevel == ACCURATE_MATCH)
        return ACCURATE_MATCH;
      level = newLevel;
    }
  }
  return level;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8448b40]]
ASTNode 
12[[#b8448b40]]
ConstructorDeclaration 
13[[#b8448b40]]
Expression 
14[[#b8448b40]]
FieldDeclaration 
15[[#b8448b40]]
LocalDeclaration 
16[[#b8448b40]]
MethodDeclaration 
17[[#b8448b40]]
MessageSend 
18[[#b8448b40]]
Reference 
19[[#b8448b40]]
TypeDeclaration 
110[[#b8448b40]]
TypeReference