Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.974 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 70 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWriter.java |
2 | 9 | 539 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java |
| ||||
DocumentBuilder docBuilder = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setValidating(false); docBuilder = factory.newDocumentBuilder(); Document document = docBuilder.newDocument(); // Create the document Element project = document.createElement("project"); //$NON-NLS-1$ document.appendChild(project); |
| ||||
DocumentBuilder docBuilder = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setValidating(false); docBuilder = factory.newDocumentBuilder(); Document document = docBuilder.newDocument(); // Create the document Element rootElement = document.createElement(TAG_ROOT); document.appendChild(rootElement); |
| |||
DocumentBuilder docBuilder = null; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setValidating(false); docBuilder = factory.newDocumentBuilder(); Document document = docBuilder.newDocument(); // Create the document Element [[#variableb07f9960]]= document.createElement( [[#variableb08286c0]]); //$NON-NLS-1$ document.appendChild( [[#variableb07f9960]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b07f9960]] | rootElement |
1 | 2 | [[#b07f9960]] | project |
2 | 1 | [[#b08286c0]] | TAG_ROOT |
2 | 2 | [[#b08286c0]] | "project" |