| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 4 | 0.951 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 95 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java |
| 2 | 5 | 101 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReferencesSearchGroup.java |
| ||||
fSite = fEditor.getSite();
fGroupId = ITextEditorActionConstants.GROUP_FIND;
fOccurrencesInFileAction = new FindOccurrencesInFileAction(fEditor);
fOccurrencesInFileAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_OCCURRENCES_IN_FILE);
|
| ||||
fSite = fEditor.getSite();
fGroupId = ITextEditorActionConstants.GROUP_FIND;
fFindReferencesAction = new FindReferencesAction(editor);
fFindReferencesAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_REFERENCES_IN_WORKSPACE);
|
| |||
fSite = fEditor.getSite(); fGroupId = ITextEditorActionConstants.GROUP_FIND; [[#variable570069a0]]= new [[#variable57007d40]]( [[#variablea082a300]]); [[#variable570069a0]].setActionDefinitionId(IJavaEditorActionDefinitionIds. [[#variable57007c80]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#570069a0]] | fOccurrencesInFileAction |
| 1 | 2 | [[#570069a0]] | fFindReferencesAction |
| 2 | 1 | [[#57007d40]] | FindOccurrencesInFileAction |
| 2 | 2 | [[#57007d40]] | FindReferencesAction |
| 3 | 1 | [[#a082a300]] | fEditor |
| 3 | 2 | [[#a082a300]] | editor |
| 4 | 1 | [[#57007c80]] | SEARCH_OCCURRENCES_IN_FILE |
| 4 | 2 | [[#57007c80]] | SEARCH_REFERENCES_IN_WORKSPACE |