Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.964 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 231 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java |
2 | 5 | 282 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java |
3 | 5 | 84 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistHistory.java |
| ||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Node root = document.createElement("templates"); //$NON-NLS-1$ |
| ||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element rootElement = document.createElement(fRootNodeName); |
| ||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element rootElement = document.createElement(NODE_ROOT); |
| |||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); [[#variable99479740]] [[#variable994799e0]]= document.createElement( [[#variable99479a80]]); //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99479740]] | Element |
1 | 2 | [[#99479740]] | Node |
1 | 3 | [[#99479740]] | Element |
2 | 1 | [[#994799e0]] | rootElement |
2 | 2 | [[#994799e0]] | root |
2 | 3 | [[#994799e0]] | rootElement |
3 | 1 | [[#99479a80]] | NODE_ROOT |
3 | 2 | [[#99479a80]] | "templates" |
3 | 3 | [[#99479a80]] | fRootNodeName |