CloneSet2227


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5350.971statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151464
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
251469
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
351511
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
Clone Instance
1
Line Count
5
Source Line
1464
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

                                                if (name == null) {
                                                        abort(MessageFormat.format("vmInstall {0} contributed by {1} missing required attribute name", //$NON-NLS-1$
                                                                                    new String[] {
                                                                                                  id, element.getContributor().getName()
                                                                                                 } ),                          null);
                                                }
                                                String home = element.getAttribute("home"); //$NON-NLS-1$


Clone Instance
2
Line Count
5
Source Line
1469
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

                                                if (home == null) {
                                                        abort(MessageFormat.format("vmInstall {0} contributed by {1} missing required attribute home", //$NON-NLS-1$
                                                                                    new String[] {
                                                                                                  id, element.getContributor().getName()
                                                                                                 } ),                          null);
                                                }
                                                String javadoc = element.getAttribute("javadocURL"); //$NON-NLS-1$


Clone Instance
3
Line Count
5
Source Line
1511
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

                                if (libPathStr == null) {
                                    abort(MessageFormat.format("library for vmInstall {0} contributed by {1} missing required attribute libPath", //$NON-NLS-1$
                                                                new String[] {
                                                                              id, element.getContributor().getName()
                                                                             } ),                  null);
                                }
                                String sourcePathStr = library.getAttribute("sourcePath"); //$NON-NLS-1$


Clone AbstractionParameter Count: 5Parameter Bindings

if ( [[#variable596cf740]]== null) {
  abort(MessageFormat.format( [[#variable596cf6e0]], //$NON-NLS-1$
                              new String[] {
                                             id,
                                             element.getContributor().getName()
                                           } ), null);
}
String  [[#variable596cf640]]= [[#variable9581b760]].getAttribute( [[#variable596cf5a0]]); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#596cf740]]
name 
12[[#596cf740]]
home 
13[[#596cf740]]
libPathStr 
21[[#596cf6e0]]
"vmInstall {0} contributed by {1} missing required attribute name" 
22[[#596cf6e0]]
"vmInstall {0} contributed by {1} missing required attribute home" 
23[[#596cf6e0]]
"library for vmInstall {0} contributed by {1} missing required attribute libPath" 
31[[#596cf640]]
home 
32[[#596cf640]]
javadoc 
33[[#596cf640]]
sourcePathStr 
41[[#9581b760]]
element 
42[[#9581b760]]
element 
43[[#9581b760]]
library 
51[[#596cf5a0]]
"home" 
52[[#596cf5a0]]
"javadocURL" 
53[[#596cf5a0]]
"sourcePath"