CloneSet3096


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5330.964statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15231
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java
25282
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java
3584
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistHistory.java
Clone Instance
1
Line Count
5
Source Line
231
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TemplateSet.java

                        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                        DocumentBuilder builder = factory.newDocumentBuilder();
                        Document document = builder.newDocument();

                        Node root = document.createElement("templates"); //$NON-NLS-1$


Clone Instance
2
Line Count
5
Source Line
282
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java

                        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                        DocumentBuilder builder = factory.newDocumentBuilder();
                        Document document = builder.newDocument();

                        Element rootElement = document.createElement(fRootNodeName);


Clone Instance
3
Line Count
5
Source Line
84
Source File
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();

                                Element rootElement = document.createElement(NODE_ROOT);


Clone AbstractionParameter Count: 3Parameter Bindings

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.newDocument();
 [[#variable99479740]]  [[#variable994799e0]]= document.createElement( [[#variable99479a80]]); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#99479740]]
Element 
12[[#99479740]]
Node 
13[[#99479740]]
Element 
21[[#994799e0]]
rootElement 
22[[#994799e0]]
root 
23[[#994799e0]]
rootElement 
31[[#99479a80]]
NODE_ROOT 
32[[#99479a80]]
"templates" 
33[[#99479a80]]
fRootNodeName