Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 2 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 187 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java |
2 | 2 | 211 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java |
3 | 2 | 803 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java |
4 | 2 | 826 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java |
| ||||
while (insert < endOffset - 2 && document.get(insert, 2).equals(SLASHES)) insert += 2; |
| ||||
// go behind line comments while (from < endOffset - 2 && document.get(from, 2).equals(SLASHES)) from += 2; |
| ||||
// go behind line comments while (insert < endOffset - 2 && document.get(insert, 2).equals(LINE_COMMENT)) insert += 2; |
| ||||
// go behind line comments while (from < endOffset - 2 && document.get(from, 2).equals(LINE_COMMENT)) from += 2; |
| |||
// go behind line comments while ( [[#variableba6a3280]] < endOffset - 2 && document.get( [[#variableba6a3280]], 2).equals( [[#variableba6a3240]])) [[#variableba6a3280]]+= 2; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba6a3280]] | from |
1 | 2 | [[#ba6a3280]] | insert |
1 | 3 | [[#ba6a3280]] | from |
1 | 4 | [[#ba6a3280]] | insert |
2 | 1 | [[#ba6a3240]] | SLASHES |
2 | 2 | [[#ba6a3240]] | LINE_COMMENT |
2 | 3 | [[#ba6a3240]] | LINE_COMMENT |
2 | 4 | [[#ba6a3240]] | SLASHES |