Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 4 | 0.968 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 591 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/InstalledJREsBlock.java |
2 | 8 | 76 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractVMInstallType.java |
3 | 8 | 143 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractVMInstallType.java |
| ||||
{ for (int i = 0; i < fVMs.size(); i++) { IVMInstall vm = (IVMInstall) fVMs.get(i); if (vm.getName().equals(name)) { return true; } } return false; } |
| ||||
{ for (int i = 0; i < fVMs.size(); i++) { IVMInstall vm = (IVMInstall) fVMs.get(i); if (vm.getId().equals(id)) { return vm; } } return null; } |
| ||||
{ for (int i = 0; i < fVMs.size(); i++) { IVMInstall vm = (IVMInstall) fVMs.get(i); if (vm.getName().equals(name)) { return vm; } } return null; } |
| |||
{ for (int i = 0; i < fVMs.size(); i++) { IVMInstall vm = (IVMInstall) fVMs.get(i); if (vm. [[#variablebbce41e0]]().equals( [[#variablebc632d40]])) { return [[#variablebb8561e0]]; } } return [[#variablebc633c40]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bbce41e0]] | getName |
1 | 2 | [[#bbce41e0]] | getName |
1 | 3 | [[#bbce41e0]] | getId |
2 | 1 | [[#bc632d40]] | name |
2 | 2 | [[#bc632d40]] | name |
2 | 3 | [[#bc632d40]] | id |
3 | 1 | [[#bb8561e0]] | true |
3 | 2 | [[#bb8561e0]] | vm |
3 | 3 | [[#bb8561e0]] | vm |
4 | 1 | [[#bc633c40]] | false |
4 | 2 | [[#bc633c40]] | null |
4 | 3 | [[#bc633c40]] | null |