Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.954 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 464 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/EMFPlugin.java |
2 | 6 | 178 | 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.appendSegments(relativePath); |
| |||||
// 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"); |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17478000]] | appendSegments |
1 | 2 | [[#17478000]] | appendSegment |
2 | 1 | [[#17478020]] | relativePath |
2 | 2 | [[#17478020]] | "plugin.properties" |