CloneSet212


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17201.000StatementList[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117927
Closure/closure/goog/ui/abstractspellchecker.js
217979
Closure/closure/goog/ui/abstractspellchecker.js
Clone Instance
1
Line Count
17
Source Line
927
Source File
Closure/closure/goog/ui/abstractspellchecker.js

    if (result[0].length==  0) {
      break;
                               }
    var word=  result[1];
    if (word) {
      var status=  this.handler_.checkWord(word);
      if (status!=  goog.spell.SpellCheck.WordStatus.VALID) {
        var preceedingText=  text.substr(stringSegmentStart, result.index-
            stringSegmentStart);
        if (preceedingText) {
          this.processRange(node, preceedingText);
                            }
        stringSegmentStart=  result.index+  word.length;
        this.processWord(node, word, status);
                                                            }
              }
    this.processedElementsCount_++;


Clone Instance
2
Line Count
17
Source Line
979
Source File
Closure/closure/goog/ui/abstractspellchecker.js

    if (result[0].length==  0) {
      break;
                               }
    var word=  result[1];
    if (word) {
      var status=  this.handler_.checkWord(word);
      if (status!=  goog.spell.SpellCheck.WordStatus.VALID) {
        var preceedingText=  text.substr(stringSegmentStart, result.index-
            stringSegmentStart);
        if (preceedingText) {
          this.processRange(node, preceedingText);
                            }
        stringSegmentStart=  result.index+  word.length;
        this.processWord(node, word, status);
                                                            }
              }
    this.processedElementsCount_++;


Clone AbstractionParameter Count: 0Parameter Bindings

if (result[0].length==0)
  { break;
  }
var word=result[1];
if (word)
  { var status=this.handler_.checkWord(word);
    if (status!=goog.spell.SpellCheck.WordStatus.VALID)
      { var preceedingText=text.substr(stringSegmentStart,result.index-stringSegmentStart);
        if (preceedingText)
          { this.processRange(node,preceedingText);
          }
        stringSegmentStart=result.index+word.length;
        this.processWord(node,word,status);
      }
  }
this.processedElementsCount_++;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None