CloneSet4161


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.988statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110116
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java
21161
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocReader.java
Clone Instance
1
Line Count
10
Source Line
116
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java

                DocumentBuilder parser = null;

                try {
                        parser = factory.newDocumentBuilder();
                } catch (ParserConfigurationException ex) {
                        throw new IOException(ex.getLocalizedMessage());
                  }
                  finally {
                        // Note: Above code is OK since clients are responsible to close the stream
                  }
                Element xmlJarDesc = parser.parse(new InputSource(fInputStream)).getDocumentElement();


Clone Instance
2
Line Count
11
Source Line
61
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocReader.java

                DocumentBuilder parser = null;
                try {
                        parser = factory.newDocumentBuilder();
                } catch (ParserConfigurationException ex) {
                        throw new IOException(ex.getMessage());
                  }
                  finally {
                        // Note: Above code is OK since clients are responsible to close the stream
                  }
                //find the project associated with the ant script
                Element xmlJavadocDesc = parser.parse(new InputSource(fInputStream)).getDocumentElement();


Clone AbstractionParameter Count: 2Parameter Bindings

DocumentBuilder parser = null;
try {
  parser = factory.newDocumentBuilder();
}
catch (ParserConfigurationException ex) {
  throw new IOException(ex. [[#variable560dce60]]());
}
finally {
// Note: Above code is OK since clients are responsible to close the stream
}
//find the project associated with the ant script
Element  [[#variable560dce40]]= parser.parse(new InputSource(fInputStream)).getDocumentElement();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#560dce60]]
getLocalizedMessage 
12[[#560dce60]]
getMessage 
21[[#560dce40]]
xmlJarDesc 
22[[#560dce40]]
xmlJavadocDesc