Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.967 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 82 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/AssertionVMArg.java |
2 | 8 | 775 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c3a48c0]] | getEnableAssertionsPreference |
1 | 2 | [[#9c3a48c0]] | getFilterStack |
2 | 1 | [[#9c3a47a0]] | ENABLE_ASSERTIONS |
2 | 2 | [[#9c3a47a0]] | DO_FILTER_STACK |
3 | 1 | [[#9c3a4800]] | setEnableAssertionsPreference |
3 | 2 | [[#9c3a4800]] | setFilterStack |
4 | 1 | [[#9c3a47e0]] | preference |
4 | 2 | [[#9c3a47e0]] | filter |