import java.util.Collection; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.emf.common.command.Command; import org.eclipse.emf.edit.command.DeleteCommand; import org.eclipse.emf.edit.command.RemoveCommand; import org.eclipse.emf.edit.domain.EditingDomain; import org.eclipse.emf.edit.domain.IEditingDomainProvider; import org.eclipse.emf.edit.ui.EMFEditUIPlugin;
import java.util.Collection; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.emf.common.command.Command; import org.eclipse.emf.common.command.UnexecutableCommand; import org.eclipse.emf.edit.command.PasteFromClipboardCommand; import org.eclipse.emf.edit.domain.EditingDomain; import org.eclipse.emf.edit.domain.IEditingDomainProvider; import org.eclipse.emf.edit.ui.EMFEditUIPlugin;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/action/DeleteAction.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/action/PasteAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
import java.util.Collection;
1
import java.util.Collection;
2
import org.eclipse.ui.IEditorPart;
2
import org.eclipse.ui.IEditorPart;
3
import org.eclipse.ui.IWorkbenchPart;
3
import org.eclipse.ui.IWorkbenchPart;
4
import org.eclipse.emf.common.command.Command;
4
import org.eclipse.emf.common.command.Command;
5
import org.eclipse.emf.edit.command.DeleteCommand;
5
import org.eclipse.emf.common.command.UnexecutableCommand;
6
import org.eclipse.emf.edit.command.RemoveCommand;
6
import org.eclipse.emf.edit.command.PasteFromClipboardCommand;
7
import org.eclipse.emf.edit.domain.EditingDomain;
7
import org.eclipse.emf.edit.domain.EditingDomain;
8
import org.eclipse.emf.edit.domain.IEditingDomainProvider;
8
import org.eclipse.emf.edit.domain.IEditingDomainProvider;
9
import org.eclipse.emf.edit.ui.EMFEditUIPlugin;
9
import org.eclipse.emf.edit.ui.EMFEditUIPlugin;
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0