Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 0 | 1.000 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 532 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMType.java |
2 | 16 | 551 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMType.java |
| ||||
try { int currentToken = scanner.getNextToken(); while (currentToken != TerminalTokens.TokenNameRBRACE && currentToken != TerminalTokens.TokenNameEOF) { currentToken = scanner.getNextToken(); } if (currentToken == TerminalTokens.TokenNameRBRACE) { closeBodyStart = scanner.startPosition; closeBodyEnd = scanner.currentPosition - 1; } else { closeBodyStart = fDocument.length; closeBodyEnd = fDocument.length; } } catch (InvalidInputException e) { closeBodyStart = fDocument.length; closeBodyEnd = fDocument.length; } |
| ||||
try { int currentToken = scanner.getNextToken(); while (currentToken != TerminalTokens.TokenNameRBRACE && currentToken != TerminalTokens.TokenNameEOF) { currentToken = scanner.getNextToken(); } if (currentToken == TerminalTokens.TokenNameRBRACE) { closeBodyStart = scanner.startPosition; closeBodyEnd = scanner.currentPosition - 1; } else { closeBodyStart = fDocument.length; closeBodyEnd = fDocument.length; } } catch (InvalidInputException e) { closeBodyStart = fDocument.length; closeBodyEnd = fDocument.length; } |
| |||
try { int currentToken = scanner.getNextToken(); while (currentToken != TerminalTokens.TokenNameRBRACE && currentToken != TerminalTokens.TokenNameEOF) { currentToken = scanner.getNextToken(); } if (currentToken == TerminalTokens.TokenNameRBRACE) { closeBodyStart = scanner.startPosition; closeBodyEnd = scanner.currentPosition - 1; } else { closeBodyStart = fDocument.length; closeBodyEnd = fDocument.length; } } catch (InvalidInputException e) { closeBodyStart = fDocument.length; closeBodyEnd = fDocument.length; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |