Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 156 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainerInitializer.java |
2 | 2 | 160 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainerInitializer.java |
| ||||
/** * Escapes foward slashes in environment id. * * @param id * @return esaped name */ public static String encodeEnvironmentId(String id) { return id.replace('/', '%'); } |
| ||||
public static String decodeEnvironmentId(String id) { return id.replace('%', '/'); } |
| |||
/** * Escapes foward slashes in environment id. * * @param id * @return esaped name */ public static String [[#variable95447a20]](String id) { return id.replace( [[#variable954479a0]], [[#variable95447920]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95447a20]] | encodeEnvironmentId |
1 | 2 | [[#95447a20]] | decodeEnvironmentId |
2 | 1 | [[#954479a0]] | '/' |
2 | 2 | [[#954479a0]] | '%' |
3 | 1 | [[#95447920]] | '%' |
3 | 2 | [[#95447920]] | '/' |