Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.955 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 155 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SetClasspathOperation.java |
2 | 10 | 169 | 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; } } |
| ||||
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; } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4b3a300]] | inclusionPatterns |
1 | 2 | [[#a4b3a300]] | exclusionPatterns |
2 | 1 | [[#a4b3a360]] | otherIncludes |
2 | 2 | [[#a4b3a360]] | otherExcludes |
3 | 1 | [[#a4b3a340]] | includeLength |
3 | 2 | [[#a4b3a340]] | excludeLength |