CloneSet2603


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3530.957executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13763
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
23942
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java
3369
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/PackageFragmentRootSourceContainer.java
4384
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java
53124
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java
Clone Instance
1
Line Count
3
Source Line
763
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java

                       {
                        packageName = name.substring(0, index);
                        className = name.substring(index + 1);
                       }


Clone Instance
2
Line Count
3
Source Line
942
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java

                                               {
                                        typeName = remaining.substring(0, index);
                                        remaining = remaining.substring(index + 1);
                                               }


Clone Instance
3
Line Count
3
Source Line
69
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/PackageFragmentRootSourceContainer.java

                                {
                        packageName = typeName.substring(0, index);
                        typeName = typeName.substring(index + 1);
                                }


Clone Instance
4
Line Count
3
Source Line
84
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java

                                 {
                        file = rest.substring(0, index);
                        extension = rest.substring(index + 1);
                                 }


Clone Instance
5
Line Count
3
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java

                                 {
                        file = rest.substring(0, index);
                        extension = rest.substring(index + 1);
                                 }


Clone AbstractionParameter Count: 3Parameter Bindings

{
   [[#variable5923bb40]]= [[#variable5923bae0]].substring(0, index);
   [[#variable5923b9e0]]= [[#variable5923bae0]].substring(index + 1);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5923bb40]]
file 
12[[#5923bb40]]
typeName 
13[[#5923bb40]]
packageName 
14[[#5923bb40]]
packageName 
15[[#5923bb40]]
file 
21[[#5923bae0]]
rest 
22[[#5923bae0]]
remaining 
23[[#5923bae0]]
typeName 
24[[#5923bae0]]
name 
25[[#5923bae0]]
rest 
31[[#5923b9e0]]
extension 
32[[#5923b9e0]]
remaining 
33[[#5923b9e0]]
typeName 
34[[#5923b9e0]]
className 
35[[#5923b9e0]]
extension