CloneSet2948


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18733
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
28816
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
Clone Instance
1
Line Count
8
Source Line
733
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java

                IPreferencesService service = Platform.getPreferencesService();
                IScopeContext[] contexts;
                if (jproj != null) {
                        contexts = new IScopeContext[] {
                                        new ProjectScope(jproj.getProject()), new InstanceScope(), new DefaultScope()
                                                       };
                }
                else {
                        contexts = new IScopeContext[] {
                                                         new InstanceScope(), new DefaultScope()
                                                       };
                }


Clone Instance
2
Line Count
8
Source Line
816
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java

                IPreferencesService service = Platform.getPreferencesService();
                IScopeContext[] contexts;
                if (jproj != null) {
                        contexts = new IScopeContext[] {
                                        new ProjectScope(jproj.getProject()), new InstanceScope(), new DefaultScope()
                                                       };
                }
                else {
                        contexts = new IScopeContext[] {
                                                         new InstanceScope(), new DefaultScope()
                                                       };
                }


Clone AbstractionParameter Count: 0Parameter Bindings

IPreferencesService service = Platform.getPreferencesService();
IScopeContext[] contexts;
if (jproj != null) {
  contexts = new IScopeContext[] {
                                   new ProjectScope(jproj.getProject()),
                                   new InstanceScope(),
                                   new DefaultScope()
                                 };
}
else {
  contexts = new IScopeContext[] {
                                   new InstanceScope(),
                                   new DefaultScope()
                                 };
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None