CloneSet608


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
36250.958statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
139294
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTRecoveryPropagator.java
23634
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTSyntaxErrorPropagator.java
Clone Instance
1
Line Count
39
Source Line
294
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTRecoveryPropagator.java

                        switch (problem.getID()) {
                                case IProblem.ParsingErrorOnKeywordNoSuggestion:
                                case IProblem.ParsingErrorOnKeyword:
                                case IProblem.ParsingError:
                                case IProblem.ParsingErrorNoSuggestion:
                                case IProblem.ParsingErrorInsertTokenBefore:
                                case IProblem.ParsingErrorInsertTokenAfter:
                                case IProblem.ParsingErrorDeleteToken:
                                case IProblem.ParsingErrorDeleteTokens:
                                case IProblem.ParsingErrorMergeTokens:
                                case IProblem.ParsingErrorInvalidToken:
                                case IProblem.ParsingErrorMisplacedConstruct:
                                case IProblem.ParsingErrorReplaceTokens:
                                case IProblem.ParsingErrorNoSuggestionForTokens:
                                case IProblem.ParsingErrorUnexpectedEOF:
                                case IProblem.ParsingErrorInsertToComplete:
                                case IProblem.ParsingErrorInsertToCompleteScope:
                                case IProblem.ParsingErrorInsertToCompletePhrase:
                                case IProblem.EndOfSource:
                                case IProblem.InvalidHexa:
                                case IProblem.InvalidOctal:
                                case IProblem.InvalidCharacterConstant:
                                case IProblem.InvalidEscape:
                                case IProblem.InvalidInput:
                                case IProblem.InvalidUnicodeEscape:
                                case IProblem.InvalidFloat:
                                case IProblem.NullSourceString:
                                case IProblem.UnterminatedString:
                                case IProblem.UnterminatedComment:
                                case IProblem.InvalidDigit:
                                        break;
                                default:
                                        this.usedOrIrrelevantProblems[i] = true;
                                        continue next;
                              }


                        int problemStart = problem.getSourceStart();
                        int problemEnd = problem.getSourceEnd();


Clone Instance
2
Line Count
36
Source Line
34
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTSyntaxErrorPropagator.java

                        switch (problem.getID()) {
                                case IProblem.ParsingErrorOnKeywordNoSuggestion:
                                case IProblem.ParsingErrorOnKeyword:
                                case IProblem.ParsingError:
                                case IProblem.ParsingErrorNoSuggestion:
                                case IProblem.ParsingErrorInsertTokenBefore:
                                case IProblem.ParsingErrorInsertTokenAfter:
                                case IProblem.ParsingErrorDeleteToken:
                                case IProblem.ParsingErrorDeleteTokens:
                                case IProblem.ParsingErrorMergeTokens:
                                case IProblem.ParsingErrorInvalidToken:
                                case IProblem.ParsingErrorMisplacedConstruct:
                                case IProblem.ParsingErrorReplaceTokens:
                                case IProblem.ParsingErrorNoSuggestionForTokens:
                                case IProblem.ParsingErrorUnexpectedEOF:
                                case IProblem.ParsingErrorInsertToComplete:
                                case IProblem.ParsingErrorInsertToCompleteScope:
                                case IProblem.ParsingErrorInsertToCompletePhrase:
                                case IProblem.EndOfSource:
                                case IProblem.InvalidHexa:
                                case IProblem.InvalidOctal:
                                case IProblem.InvalidCharacterConstant:
                                case IProblem.InvalidEscape:
                                case IProblem.InvalidInput:
                                case IProblem.InvalidUnicodeEscape:
                                case IProblem.InvalidFloat:
                                case IProblem.NullSourceString:
                                case IProblem.UnterminatedString:
                                case IProblem.UnterminatedComment:
                                case IProblem.InvalidDigit:
                                        break;
                                default:
                                        continue search;
                              }
                        int position = problem.getSourceStart();
                        int start = node.getStartPosition();


Clone AbstractionParameter Count: 5Parameter Bindings

switch (problem.getID()) {
  case IProblem.ParsingErrorOnKeywordNoSuggestion:
  case IProblem.ParsingErrorOnKeyword:
  case IProblem.ParsingError:
  case IProblem.ParsingErrorNoSuggestion:
  case IProblem.ParsingErrorInsertTokenBefore:
  case IProblem.ParsingErrorInsertTokenAfter:
  case IProblem.ParsingErrorDeleteToken:
  case IProblem.ParsingErrorDeleteTokens:
  case IProblem.ParsingErrorMergeTokens:
  case IProblem.ParsingErrorInvalidToken:
  case IProblem.ParsingErrorMisplacedConstruct:
  case IProblem.ParsingErrorReplaceTokens:
  case IProblem.ParsingErrorNoSuggestionForTokens:
  case IProblem.ParsingErrorUnexpectedEOF:
  case IProblem.ParsingErrorInsertToComplete:
  case IProblem.ParsingErrorInsertToCompleteScope:
  case IProblem.ParsingErrorInsertToCompletePhrase:
  case IProblem.EndOfSource:
  case IProblem.InvalidHexa:
  case IProblem.InvalidOctal:
  case IProblem.InvalidCharacterConstant:
  case IProblem.InvalidEscape:
  case IProblem.InvalidInput:
  case IProblem.InvalidUnicodeEscape:
  case IProblem.InvalidFloat:
  case IProblem.NullSourceString:
  case IProblem.UnterminatedString:
  case IProblem.UnterminatedComment:
  case IProblem.InvalidDigit:
    break;
  default:
     [[#variable780f8300]]
}
int  [[#variable780f8240]]= problem.getSourceStart();
int  [[#variable62e59260]]= [[#variablea3187aa0]]. [[#variable780f8180]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#780f8300]]
continue search; 
12[[#780f8300]]
this.usedOrIrrelevantProblems[i] = true;
continue next; 
21[[#780f8240]]
position 
22[[#780f8240]]
problemStart 
31[[#62e59260]]
start 
32[[#62e59260]]
problemEnd 
41[[#a3187aa0]]
node 
42[[#a3187aa0]]
problem 
51[[#780f8180]]
getStartPosition 
52[[#780f8180]]
getSourceEnd