CloneSet1265


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5330.976statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15578
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
25613
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
36732
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
5
Source Line
578
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                        SourceRange range = getExtendedRange(node);
                        int offset = range.getStartPosition();
                        int length = range.getLength();
                        doTextRemoveAndVisit(offset, length, node, editGroup);
                        doTextInsert(offset, (ASTNode) event.getNewValue(), getIndent(offset), true, editGroup);


Clone Instance
2
Line Count
5
Source Line
613
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                                        SourceRange range = getExtendedRange(node);
                                        int nodeOffset = range.getStartPosition();
                                        int nodeLen = range.getLength();
                                        doTextRemoveAndVisit(nodeOffset, nodeLen, node, editGroup);
                                        doTextInsert(nodeOffset, (ASTNode) event.getNewValue(), getIndent(offset), true, editGroup);


Clone Instance
3
Line Count
6
Source Line
732
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                                        SourceRange range = getExtendedRange(node);
                                        int offset = range.getStartPosition();
                                        int length = range.getLength();

                                        doTextRemoveAndVisit(offset, length, node, editGroup);
                                        doTextInsert(offset, (ASTNode) event.getNewValue(), getIndent(startPos), true, editGroup);


Clone AbstractionParameter Count: 3Parameter Bindings

SourceRange range = getExtendedRange(node);
int  [[#variable609822a0]]= range.getStartPosition();
int  [[#variablea0f93a20]]= range.getLength();
doTextRemoveAndVisit( [[#variable609822a0]],  [[#variablea0f93a20]], node, editGroup);
doTextInsert( [[#variable609822a0]], (ASTNode) event.getNewValue(), getIndent( [[#variable609822c0]]), true, editGroup);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#609822a0]]
offset 
12[[#609822a0]]
offset 
13[[#609822a0]]
nodeOffset 
21[[#a0f93a20]]
length 
22[[#a0f93a20]]
length 
23[[#a0f93a20]]
nodeLen 
31[[#609822c0]]
offset 
32[[#609822c0]]
startPos 
33[[#609822c0]]
offset