Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.958 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 300 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java |
2 | 4 | 309 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java |
| ||||
// all is well; do the substitution IPath relativePath = path.removeFirstSegments(2); IPath absoluteProjPath = proj.getLocation(); IPath absoluteResPath = absoluteProjPath.append(relativePath); return absoluteResPath.toOSString(); |
| ||||
// all is well; do the substitution IPath relativePath = path.removeFirstSegments(1); IPath absoluteProjPath = jproj.getProject().getLocation(); IPath absoluteResPath = absoluteProjPath.append(relativePath); return absoluteResPath.toOSString(); |
| |||
// all is well; do the substitution IPath relativePath = path.removeFirstSegments( [[#variable63d36800]]); IPath absoluteProjPath = [[#variable63d36ce0]].getLocation(); IPath absoluteResPath = absoluteProjPath.append(relativePath); return absoluteResPath.toOSString(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63d36800]] | 2 |
1 | 2 | [[#63d36800]] | 1 |
2 | 1 | [[#63d36ce0]] | proj |
2 | 2 | [[#63d36ce0]] | jproj.getProject() |