CloneSet1248


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19340.964statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119554
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
2191261
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
3191318
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
Clone Instance
1
Line Count
19
Source Line
554
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

        switch (limitTo) {
                case IJavaSearchConstants.DECLARATIONS:
                        findDeclarations = true;
                        break;
                case IJavaSearchConstants.REFERENCES:
                        readAccess = true;
                        writeAccess = true;
                        break;
                case IJavaSearchConstants.READ_ACCESSES:
                        readAccess = true;
                        break;
                case IJavaSearchConstants.WRITE_ACCESSES:
                        writeAccess = true;
                        break;
                case IJavaSearchConstants.ALL_OCCURRENCES:
                        findDeclarations = true;
                        readAccess = true;
                        writeAccess = true;
                        break;
              }


Clone Instance
2
Line Count
19
Source Line
1261
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                        switch (maskedLimitTo) {
                                case IJavaSearchConstants.DECLARATIONS:
                                        findDeclarations = true;
                                        break;
                                case IJavaSearchConstants.REFERENCES:
                                        readAccess = true;
                                        writeAccess = true;
                                        break;
                                case IJavaSearchConstants.READ_ACCESSES:
                                        readAccess = true;
                                        break;
                                case IJavaSearchConstants.WRITE_ACCESSES:
                                        writeAccess = true;
                                        break;
                                case IJavaSearchConstants.ALL_OCCURRENCES:
                                        findDeclarations = true;
                                        readAccess = true;
                                        writeAccess = true;
                                        break;
                              }


Clone Instance
3
Line Count
19
Source Line
1318
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                        switch (maskedLimitTo) {
                                case IJavaSearchConstants.DECLARATIONS:
                                        findVarDeclarations = true;
                                        break;
                                case IJavaSearchConstants.REFERENCES:
                                        findVarReadAccess = true;
                                        findVarWriteAccess = true;
                                        break;
                                case IJavaSearchConstants.READ_ACCESSES:
                                        findVarReadAccess = true;
                                        break;
                                case IJavaSearchConstants.WRITE_ACCESSES:
                                        findVarWriteAccess = true;
                                        break;
                                case IJavaSearchConstants.ALL_OCCURRENCES:
                                        findVarDeclarations = true;
                                        findVarReadAccess = true;
                                        findVarWriteAccess = true;
                                        break;
                              }


Clone AbstractionParameter Count: 4Parameter Bindings

switch ( [[#variablec30b7440]]) {
  case IJavaSearchConstants.DECLARATIONS:
     [[#variablec30b73a0]]= true;
    break;
  case IJavaSearchConstants.REFERENCES:
     [[#variablec30b7320]]= true;
     [[#variablec30b7280]]= true;
    break;
  case IJavaSearchConstants.READ_ACCESSES:
     [[#variablec30b7320]]= true;
    break;
  case IJavaSearchConstants.WRITE_ACCESSES:
     [[#variablec30b7280]]= true;
    break;
  case IJavaSearchConstants.ALL_OCCURRENCES:
     [[#variablec30b73a0]]= true;
     [[#variablec30b7320]]= true;
     [[#variablec30b7280]]= true;
    break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c30b7440]]
maskedLimitTo 
12[[#c30b7440]]
maskedLimitTo 
13[[#c30b7440]]
limitTo 
21[[#c30b73a0]]
findDeclarations 
22[[#c30b73a0]]
findVarDeclarations 
23[[#c30b73a0]]
findDeclarations 
31[[#c30b7320]]
readAccess 
32[[#c30b7320]]
findVarReadAccess 
33[[#c30b7320]]
readAccess 
41[[#c30b7280]]
writeAccess 
42[[#c30b7280]]
findVarWriteAccess 
43[[#c30b7280]]
writeAccess