CloneSet965


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.954statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16464
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/EMFPlugin.java
26178
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/DelegatingResourceLocator.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
464
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/EMFPlugin.java

// Trim off the "bin" or "runtime" segment.
//
String lastSegment = uri.lastSegment();
if ("bin".equals(lastSegment) || "runtime".equals(lastSegment)) {
  uri = uri.trimSegments(1);
}
uri = uri.appendSegments(relativePath);


First
Previous
Clone Instance
2
Line Count
6
Source Line
178
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/DelegatingResourceLocator.java

// Trim off the "bin" or "runtime" segment.
//
String lastSegment = uri.lastSegment();
if ("bin".equals(lastSegment) || "runtime".equals(lastSegment)) {
  uri = uri.trimSegments(1);
}
uri = uri.appendSegment("plugin.properties");


Clone AbstractionParameter Count: 2Parameter Bindings

// Trim off the "bin" or "runtime" segment.
//
String lastSegment = uri.lastSegment();
if ("bin".equals(lastSegment) || "runtime".equals(lastSegment)) {
  uri = uri.trimSegments(1);
}
uri = uri. [[#variable17478000]]( [[#variable17478020]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17478000]]
appendSegments 
12[[#17478000]]
appendSegment 
21[[#17478020]]
relativePath 
22[[#17478020]]
"plugin.properties"