CloneSet4997


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.958statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14300
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
24309
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
Clone Instance
1
Line Count
4
Source Line
300
Source File
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();


Clone Instance
2
Line Count
4
Source Line
309
Source File
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(1);
                        IPath absoluteProjPath = jproj.getProject().getLocation();
                        IPath absoluteResPath = absoluteProjPath.append(relativePath);
                        return absoluteResPath.toOSString();


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63d36800]]
2 
12[[#63d36800]]
1 
21[[#63d36ce0]]
proj 
22[[#63d36ce0]]
jproj.getProject()