CloneSet4518


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3330.961statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13322
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java
23331
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java
33338
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java
Clone Instance
1
Line Count
3
Source Line
322
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java

                String name = element.getAttribute("name"); //$NON-NLS-1$
                if (name.length() == 0)
                        throw new IOException(JarPackagerMessages.JarPackageReader_error_tagNameNotFound);


Clone Instance
2
Line Count
3
Source Line
331
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java

                String pathString = element.getAttribute("path"); //$NON-NLS-1$
                if (pathString.length() == 0)
                        throw new IOException(JarPackagerMessages.JarPackageReader_error_tagPathNotFound);


Clone Instance
3
Line Count
3
Source Line
338
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java

                String handleId = element.getAttribute("handleIdentifier"); //$NON-NLS-1$
                if (handleId.length() == 0)
                        throw new IOException(JarPackagerMessages.JarPackageReader_error_tagHandleIdentifierNotFoundOrEmpty);


Clone AbstractionParameter Count: 3Parameter Bindings

String  [[#variable57871840]]= element.getAttribute( [[#variable578717c0]]); //$NON-NLS-1$
if ( [[#variable57871840]].length() == 0)
  throw new IOException(JarPackagerMessages. [[#variable578717e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57871840]]
name 
12[[#57871840]]
pathString 
13[[#57871840]]
handleId 
21[[#578717c0]]
"name" 
22[[#578717c0]]
"path" 
23[[#578717c0]]
"handleIdentifier" 
31[[#578717e0]]
JarPackageReader_error_tagNameNotFound 
32[[#578717e0]]
JarPackageReader_error_tagPathNotFound 
33[[#578717e0]]
JarPackageReader_error_tagHandleIdentifierNotFoundOrEmpty