CloneSet5057


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17606
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
27687
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java
Clone Instance
1
Line Count
7
Source Line
606
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

        if (getKind() != K_BINARY) return null;

        String serverPathString = getSourceAttachmentProperty();
        if (serverPathString == null) {
                return null;
        }
        int index = serverPathString.lastIndexOf(ATTACHMENT_PROPERTY_DELIMITER);


Clone Instance
2
Line Count
7
Source Line
687
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java

        if (getKind() != K_BINARY) return null;

        String serverPathString = getSourceAttachmentProperty();
        if (serverPathString == null) {
                return null;
        }
        int index = serverPathString.lastIndexOf(ATTACHMENT_PROPERTY_DELIMITER);


Clone AbstractionParameter Count: 0Parameter Bindings

if (getKind() != K_BINARY)
  return null;
String serverPathString = getSourceAttachmentProperty();
if (serverPathString == null) {
  return null;
}
int index = serverPathString.lastIndexOf(ATTACHMENT_PROPERTY_DELIMITER);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None