Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 5 | 0.959 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 576 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREsComboBlock.java |
2 | 7 | 584 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREsComboBlock.java |
| ||||
if (fEnvironmentsButton.getSelection()) { int index = fEnvironmentsCombo.getSelectionIndex(); if (index >= 0) { IExecutionEnvironment env = (IExecutionEnvironment) fEnvironments.get(index); return JavaRuntime.newJREContainerPath(env); } return null; } |
| ||||
if (fSpecificButton.getSelection()) { int index = fCombo.getSelectionIndex(); if (index >= 0) { IVMInstall vm = (IVMInstall) fVMs.get(index); return JavaRuntime.newJREContainerPath(vm); } return null; } |
| |||
if ( [[#variable53adf620]].getSelection()) { int index = [[#variable53adf500]].getSelectionIndex(); if (index >= 0) { [[#variable53adf560]] [[#variable53adefc0]]= ( [[#variable53adf560]]) [[#variable53adf5c0]].get(index); return JavaRuntime.newJREContainerPath( [[#variable53adefc0]]); } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53adf620]] | fSpecificButton |
1 | 2 | [[#53adf620]] | fEnvironmentsButton |
2 | 1 | [[#53adf500]] | fCombo |
2 | 2 | [[#53adf500]] | fEnvironmentsCombo |
3 | 1 | [[#53adf560]] | IVMInstall |
3 | 2 | [[#53adf560]] | IExecutionEnvironment |
4 | 1 | [[#53adefc0]] | vm |
4 | 2 | [[#53adefc0]] | env |
5 | 1 | [[#53adf5c0]] | fVMs |
5 | 2 | [[#53adf5c0]] | fEnvironments |