Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.981 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 237 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java |
2 | 9 | 246 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java |
| ||||
for (int index = 0; index < changes.length; index++) { final IResource resource = ResourceDiffTree.getResourceFor(changes[index]); if (resource != null) { final IJavaProject project = asJavaProject(resource.getProject()); if (project != null) result.add(project); } } final IDiff[] additions = event.getAdditions(); |
| ||||
for (int index = 0; index < additions.length; index++) { final IResource resource = ResourceDiffTree.getResourceFor(additions[index]); if (resource != null) { final IJavaProject project = asJavaProject(resource.getProject()); if (project != null) result.add(project); } } final IPath[] removals = event.getRemovals(); |
| |||
for (int index = 0; index < [[#variable76b96c40]].length; index++) { final IResource resource = ResourceDiffTree.getResourceFor( [[#variable76b96c40]][index]); if (resource != null) { final IJavaProject project = asJavaProject(resource.getProject()); if (project != null) result.add(project); } } final [[#variable76b96b40]][] [[#variable76b96b80]]= event. [[#variable76b96b00]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76b96c40]] | changes |
1 | 2 | [[#76b96c40]] | additions |
2 | 1 | [[#76b96b40]] | IDiff |
2 | 2 | [[#76b96b40]] | IPath |
3 | 1 | [[#76b96b80]] | additions |
3 | 2 | [[#76b96b80]] | removals |
4 | 1 | [[#76b96b00]] | getAdditions |
4 | 2 | [[#76b96b00]] | getRemovals |