CloneSet2600


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13301.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113587
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
213789
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
313927
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
Clone Instance
1
Line Count
13
Source Line
587
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

                                switch (copiesLength) {
                                        case 0:
                                                break;
                                        case 1:
                                                if (singleWkcpPath.equals(documentPath)) {
                                                        return true; // fliter out *the* working copy
                                                }
                                                break;
                                        default:
                                                if (workingCopyPaths.contains(documentPath)) {
                                                        return true; // filter out working copies
                                                }
                                                break;
                                      }


Clone Instance
2
Line Count
13
Source Line
789
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

                                switch (copiesLength) {
                                        case 0:
                                                break;
                                        case 1:
                                                if (singleWkcpPath.equals(documentPath)) {
                                                        return true; // fliter out *the* working copy
                                                }
                                                break;
                                        default:
                                                if (workingCopyPaths.contains(documentPath)) {
                                                        return true; // filter out working copies
                                                }
                                                break;
                                      }


Clone Instance
3
Line Count
13
Source Line
927
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

                                // Filter unexpected types
                                switch (copiesLength) {
                                        case 0:
                                                break;
                                        case 1:
                                                if (singleWkcpPath.equals(documentPath)) {
                                                        return true; // fliter out *the* working copy
                                                }
                                                break;
                                        default:
                                                if (workingCopyPaths.contains(documentPath)) {
                                                        return true; // filter out working copies
                                                }
                                                break;
                                      }


Clone AbstractionParameter Count: 0Parameter Bindings

// Filter unexpected types
switch (copiesLength) {
  case 0:
    break;
  case 1:
    if (singleWkcpPath.equals(documentPath)) {
      return true; // fliter out *the* working copy
    }
    break;
  default:
    if (workingCopyPaths.contains(documentPath)) {
      return true; // filter out working copies
    }
    break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None