Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.952 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 112 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java |
2 | 4 | 134 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/OverwriteHelper.java |
| ||||
for (int i = 0; i < fRoots.length; i++) { IPackageFragmentRoot root = fRoots[i]; if (canOverwrite(root) && ! skip(root.getElementName(), overwriteQuery)) toNotOverwrite.add(root); } |
| ||||
for (int i = 0; i < fFolders.length; i++) { IFolder folder = fFolders[i]; if (canOverwrite(folder) && ! skip(folder.getName(), overwriteQuery)) foldersToNotOverwrite.add(folder); } |
| |||
for (int i = 0; i < [[#variable61699ae0]].length; i++) { [[#variable61699a60]] [[#variable616999e0]]= [[#variable61699ae0]][i]; if (canOverwrite( [[#variable616999e0]]) && !skip( [[#variable616999e0]]. [[#variable61699980]](), overwriteQuery)) [[#variable61699900]].add( [[#variable616999e0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#61699ae0]] | fFolders |
1 | 2 | [[#61699ae0]] | fRoots |
2 | 1 | [[#61699a60]] | IFolder |
2 | 2 | [[#61699a60]] | IPackageFragmentRoot |
3 | 1 | [[#616999e0]] | folder |
3 | 2 | [[#616999e0]] | root |
4 | 1 | [[#61699980]] | getName |
4 | 2 | [[#61699980]] | getElementName |
5 | 1 | [[#61699900]] | foldersToNotOverwrite |
5 | 2 | [[#61699900]] | toNotOverwrite |