Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.972 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 88 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java |
2 | 3 | 91 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddBlockCommentAction.java |
3 | 3 | 185 | 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())); } |
| ||||
{ // special types: include the entire partition edits.add(factory.createEdit(partOffset, 0, getCommentStart())); } // javadoc: no mark, will only start after comment |
| ||||
{ // normal java: end comment where selection ends edits.add(factory.createEdit(endOffset, 0, getCommentEnd())); } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#531d7640]] | endOffset |
1 | 2 | [[#531d7640]] | partOffset |
1 | 3 | [[#531d7640]] | offset |
2 | 1 | [[#531d75e0]] | getCommentEnd |
2 | 2 | [[#531d75e0]] | getCommentStart |
2 | 3 | [[#531d75e0]] | getCommentStart |