Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.982 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 251 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IndentAction.java |
2 | 12 | 390 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java |
| ||||
// standard java indentation if (indent == null) { StringBuffer computed = indenter.computeIndentation(offset); if (computed != null) indent = computed.toString(); else indent = ""; //$NON-NLS-1$ } // change document: // get current white space int lineLength = currentLine.getLength(); int end = scanner.findNonWhitespaceForwardInAnyPartition(wsStart, offset + lineLength); |
| ||||
// standard java indentation if (indent == null) { StringBuffer computed = indenter.computeIndentation(offset); if (computed != null) indent = computed.toString(); else indent = new String(); } // change document: // get current white space int lineLength = currentLine.getLength(); int end = scanner.findNonWhitespaceForwardInAnyPartition(wsStart, offset + lineLength); |
| |||
// standard java indentation if (indent == null) { StringBuffer computed = indenter.computeIndentation(offset); if (computed != null) indent = computed.toString(); else indent = [[#variablea3c38100]]; //$NON-NLS-1$ } // change document: // get current white space int lineLength = currentLine.getLength(); int end = scanner.findNonWhitespaceForwardInAnyPartition(wsStart, offset + lineLength); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a3c38100]] | "" |
1 | 2 | [[#a3c38100]] | new String() |