CloneSet6810


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.972executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1388
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java
2391
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java
33185
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java
Clone Instance
1
Line Count
3
Source Line
88
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java

                                                                {
                        // Java code: right where selection starts
                        edits.add(factory.createEdit(offset, 0, getCommentStart()));
                                                                }


Clone Instance
2
Line Count
3
Source Line
91
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java

                                                         {
                        // special types: include the entire partition
                        edits.add(factory.createEdit(partOffset, 0, getCommentStart()));
                                                         } // javadoc: no mark, will only start after comment


Clone Instance
3
Line Count
3
Source Line
185
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java

                                                                {
                        // normal java: end comment where selection ends
                        edits.add(factory.createEdit(endOffset, 0, getCommentEnd()));
                                                                }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  // normal java: end comment where selection ends
  // special types: include the entire partition
  // Java code: right where selection starts
  edits.add(factory.createEdit( [[#variable531d7640]], 0,  [[#variable531d75e0]]()));
} // javadoc: no mark, will only start after comment
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#531d7640]]
endOffset 
12[[#531d7640]]
partOffset 
13[[#531d7640]]
offset 
21[[#531d75e0]]
getCommentEnd 
22[[#531d75e0]]
getCommentStart 
23[[#531d75e0]]
getCommentStart