CloneSet2456


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.955statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110155
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SetClasspathOperation.java
210169
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SetClasspathOperation.java
Clone Instance
1
Line Count
10
Source Line
155
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SetClasspathOperation.java

                                        if (inclusionPatterns != otherIncludes) {
                                            if (inclusionPatterns == null) continue ;
                                                int includeLength = inclusionPatterns.length;
                                                if (otherIncludes == null || otherIncludes.length != includeLength)
                                                        continue ;
                                                for (int j = 0; j < includeLength; j++) {
                                                        // compare toStrings instead of IPaths 
                                                        // since IPath.equals is specified to ignore trailing separators
                                                        if ( !inclusionPatterns[j].toString().equals(otherIncludes[j].toString()))
                                                                continue nextEntry;
                                                }
                                        }


Clone Instance
2
Line Count
10
Source Line
169
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SetClasspathOperation.java

                                        if (exclusionPatterns != otherExcludes) {
                                            if (exclusionPatterns == null) continue ;
                                                int excludeLength = exclusionPatterns.length;
                                                if (otherExcludes == null || otherExcludes.length != excludeLength)
                                                        continue ;
                                                for (int j = 0; j < excludeLength; j++) {
                                                        // compare toStrings instead of IPaths 
                                                        // since IPath.equals is specified to ignore trailing separators
                                                        if ( !exclusionPatterns[j].toString().equals(otherExcludes[j].toString()))
                                                                continue nextEntry;
                                                }
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variablea4b3a300]]!= [[#variablea4b3a360]]) {
  if ( [[#variablea4b3a300]]== null)
    continue ;
  int  [[#variablea4b3a340]]= [[#variablea4b3a300]].length;
  if ( [[#variablea4b3a360]]== null || [[#variablea4b3a360]].length != [[#variablea4b3a340]])
    continue ;
  for (int j = 0; j <  [[#variablea4b3a340]]; j++) {
    // compare toStrings instead of IPaths 
    // since IPath.equals is specified to ignore trailing separators
    if ( ! [[#variablea4b3a300]][j].toString().equals( [[#variablea4b3a360]][j].toString()))
      continue nextEntry;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4b3a300]]
inclusionPatterns 
12[[#a4b3a300]]
exclusionPatterns 
21[[#a4b3a360]]
otherIncludes 
22[[#a4b3a360]]
otherExcludes 
31[[#a4b3a340]]
includeLength 
32[[#a4b3a340]]
excludeLength