CloneSet4832


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3410.986statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13131
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistoryImpl.java
23176
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistoryImpl.java
33138
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionActionImpl.java
43160
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionActionImpl.java
Clone Instance
1
Line Count
3
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistoryImpl.java

                if (file == null) {
                        MessageDialog.openError(shell, errorTitle, errorMessage);
                        return;
                }


Clone Instance
2
Line Count
3
Source Line
176
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaAddElementFromHistoryImpl.java

                                if (newNode == null) {
                                        MessageDialog.openError(shell, errorTitle, errorMessage);
                                        return;
                                }


Clone Instance
3
Line Count
3
Source Line
138
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionActionImpl.java

                                if (newContent == null) {
                                        MessageDialog.openError(shell, errorTitle, errorMessage);
                                        return;
                                }


Clone Instance
4
Line Count
3
Source Line
160
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionActionImpl.java

                                //ASTNode node= getBodyContainer(root, input);
                                if (node == null) {
                                        MessageDialog.openError(shell, errorTitle, errorMessage);
                                        return;
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

//ASTNode node= getBodyContainer(root, input);
if ( [[#variable57307320]]== null) {
  MessageDialog.openError(shell, errorTitle, errorMessage);
  return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57307320]]
file 
12[[#57307320]]
newNode 
13[[#57307320]]
node 
14[[#57307320]]
newContent