| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 4 | 0.979 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 441 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/SourceDebugExtensionParser.java |
| 2 | 11 | 459 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/SourceDebugExtensionParser.java |
| ||||
if (lexemType == Lexer.COMMA) {
if (lexer.nextLexem() != Lexer.NUMBER) {
throw new AbsentInformationException(JDIMessages.SourceDebugExtensionParser_24);
}
repeatCount = integerValue(lexer.lexem());
lexemType = lexer.nextLexem();
}
else {
repeatCount = 1;
}
if (lexemType != Lexer.COLON) {
throw new AbsentInformationException(JDIMessages.SourceDebugExtensionParser_25);
}
|
| ||||
if (lexemType == Lexer.COMMA) {
if (lexer.nextLexem() != Lexer.NUMBER) {
throw new AbsentInformationException(JDIMessages.SourceDebugExtensionParser_27);
}
outputLineIncrement = integerValue(lexer.lexem());
lexemType = lexer.nextLexem();
}
else {
outputLineIncrement = 1;
}
if (lexemType != Lexer.CR) {
throw new AbsentInformationException(JDIMessages.SourceDebugExtensionParser_28);
}
|
| |||
if (lexemType == Lexer.COMMA) {
if (lexer.nextLexem() != Lexer.NUMBER) {
throw new AbsentInformationException(JDIMessages. [[#variableb1d78480]]);
}
[[#variable5837f900]]= integerValue(lexer.lexem());
lexemType = lexer.nextLexem();
}
else {
[[#variable5837f900]]= 1;
}
if (lexemType != Lexer. [[#variable5837f760]]) {
throw new AbsentInformationException(JDIMessages. [[#variable5837f8e0]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b1d78480]] | SourceDebugExtensionParser_24 |
| 1 | 2 | [[#b1d78480]] | SourceDebugExtensionParser_27 |
| 2 | 1 | [[#5837f900]] | repeatCount |
| 2 | 2 | [[#5837f900]] | outputLineIncrement |
| 3 | 1 | [[#5837f760]] | COLON |
| 3 | 2 | [[#5837f760]] | CR |
| 4 | 1 | [[#5837f8e0]] | SourceDebugExtensionParser_25 |
| 4 | 2 | [[#5837f8e0]] | SourceDebugExtensionParser_28 |