Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 1 | 0.979 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 263 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/OperatingSystem.java |
2 | 3 | 271 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/OperatingSystem.java |
3 | 3 | 326 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/OperatingSystem.java |
| |||||
public String getInstallDirectory(String name, String version) { return "/Applications/" + name + " " + version; } |
| |||||
public String getInstallDirectory(String name, String version) { return "C:\\Program Files\\" + name + " " + version; } |
| |||||
public String getInstallDirectory(String name, String version) { return "C:\\" + name + " " + version; } |
| |||
public String getInstallDirectory(String name, String version) { return [[#variableaedd4c0]] + name + " " + version; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#aedd4c0]] | "/Applications/" |
1 | 2 | [[#aedd4c0]] | "C:\\Program Files\\" |
1 | 3 | [[#aedd4c0]] | "C:\\" |