Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.988 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 116 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageReader.java |
2 | 11 | 61 | 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.getLocalizedMessage()); } finally { // Note: Above code is OK since clients are responsible to close the stream } Element xmlJarDesc = parser.parse(new InputSource(fInputStream)).getDocumentElement(); |
| ||||
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(); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#560dce60]] | getLocalizedMessage |
1 | 2 | [[#560dce60]] | getMessage |
2 | 1 | [[#560dce40]] | xmlJarDesc |
2 | 2 | [[#560dce40]] | xmlJavadocDesc |