Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 0 | 1.000 | StatementList[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 927 | Closure/closure/goog/ui/abstractspellchecker.js |
2 | 17 | 979 | 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_++; |
| ||||
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_++; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |