Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.955 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 237 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceIndirectionInputPage.java |
2 | 4 | 240 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/MoveMembersWizard.java |
| ||||
String destination = fIntermediaryTypeName.getText(); if ( !fgIntermediaryTypes.remove(destination) && fgIntermediaryTypes.size() >= INTERMEDIARY_TYPE_COUNT) fgIntermediaryTypes.remove(fgIntermediaryTypes.size() - 1); fgIntermediaryTypes.add(0, destination); |
| ||||
String destination = fDestinationField.getText(); if ( !fgMruDestinations.remove(destination) && fgMruDestinations.size() >= MRU_COUNT) fgMruDestinations.remove(fgMruDestinations.size() - 1); fgMruDestinations.add(0, destination); |
| |||
String destination = [[#variable632be520]].getText(); if ( ! [[#variablea1599740]].remove(destination) && [[#variablea1599740]].size() >= [[#variable632be580]]) [[#variablea1599740]].remove( [[#variablea1599740]].size() - 1); [[#variablea1599740]].add(0, destination); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#632be520]] | fDestinationField |
1 | 2 | [[#632be520]] | fIntermediaryTypeName |
2 | 1 | [[#a1599740]] | fgMruDestinations |
2 | 2 | [[#a1599740]] | fgIntermediaryTypes |
3 | 1 | [[#632be580]] | MRU_COUNT |
3 | 2 | [[#632be580]] | INTERMEDIARY_TYPE_COUNT |