CloneSet3144


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11250.970statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111844
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
210865
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
Clone Instance
1
Line Count
11
Source Line
844
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java

                        otherPath = otherEntry.getSourceAttachmentRootPath();
                        if (this.sourceAttachmentRootPath == null) {
                                if (otherPath != null)
                                        return false;
                        }
                        else   {
                                if ( !this.sourceAttachmentRootPath.equals(otherPath))
                                        return false;
                        }
                        if ( !equalPatterns(this.inclusionPatterns, otherEntry.getInclusionPatterns()))
                                return false;


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

                        otherPath = otherEntry.getOutputLocation();
                        if (this.specificOutputLocation == null) {
                                if (otherPath != null)
                                        return false;
                        }
                        else   {
                                if ( !this.specificOutputLocation.equals(otherPath))
                                        return false;
                        }
                        if ( !equalAttributes(this.extraAttributes, otherEntry.getExtraAttributes()))
                                return false;


Clone AbstractionParameter Count: 5Parameter Bindings

otherPath = otherEntry. [[#variable615ef660]]();
if (this. [[#variable615ef5c0]]== null) {
  if (otherPath != null)
    return false;
}
else {
  if ( !this. [[#variable615ef5c0]].equals(otherPath))
    return false;
}
if ( ! [[#variable59557220]](this. [[#variable59557e60]], otherEntry. [[#variable615eeac0]]()))
  return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#615ef660]]
getSourceAttachmentRootPath 
12[[#615ef660]]
getOutputLocation 
21[[#615ef5c0]]
sourceAttachmentRootPath 
22[[#615ef5c0]]
specificOutputLocation 
31[[#59557220]]
equalPatterns 
32[[#59557220]]
equalAttributes 
41[[#59557e60]]
inclusionPatterns 
42[[#59557e60]]
extraAttributes 
51[[#615eeac0]]
getInclusionPatterns 
52[[#615eeac0]]
getExtraAttributes