CloneSet3625


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.967class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1882
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/AssertionVMArg.java
28775
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
Clone Instance
1
Line Count
8
Source Line
82
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/AssertionVMArg.java

        public static boolean getEnableAssertionsPreference() {
                IPreferenceStore store = JUnitPlugin.getDefault().getPreferenceStore();
                return store.getBoolean(JUnitPreferencesConstants.ENABLE_ASSERTIONS);
        }

        public static void setEnableAssertionsPreference(boolean preference) {
                IPreferenceStore store = JUnitPlugin.getDefault().getPreferenceStore();
                store.setValue(JUnitPreferencesConstants.ENABLE_ASSERTIONS, preference);
        }


Clone Instance
2
Line Count
8
Source Line
775
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java

        public static boolean getFilterStack() {
                IPreferenceStore store = JUnitPlugin.getDefault().getPreferenceStore();
                return store.getBoolean(JUnitPreferencesConstants.DO_FILTER_STACK);
        }

        public static void setFilterStack(boolean filter) {
                IPreferenceStore store = JUnitPlugin.getDefault().getPreferenceStore();
                store.setValue(JUnitPreferencesConstants.DO_FILTER_STACK, filter);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

public static boolean  [[#variable9c3a48c0]]() {
  IPreferenceStore store = JUnitPlugin.getDefault().getPreferenceStore();
  return store.getBoolean(JUnitPreferencesConstants. [[#variable9c3a47a0]]);
}

public static void [[#variable9c3a4800]](boolean  [[#variable9c3a47e0]]) {
  IPreferenceStore store = JUnitPlugin.getDefault().getPreferenceStore();
  store.setValue(JUnitPreferencesConstants. [[#variable9c3a47a0]],  [[#variable9c3a47e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c3a48c0]]
getEnableAssertionsPreference 
12[[#9c3a48c0]]
getFilterStack 
21[[#9c3a47a0]]
ENABLE_ASSERTIONS 
22[[#9c3a47a0]]
DO_FILTER_STACK 
31[[#9c3a4800]]
setEnableAssertionsPreference 
32[[#9c3a4800]]
setFilterStack 
41[[#9c3a47e0]]
preference 
42[[#9c3a47e0]]
filter