Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.990 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 596 | Closure/closure/goog/i18n/numberformat.js |
2 | 10 | 567 | Closure/closure/goog/locale/numberformat.js |
| ||||
var ch= pattern.charAt(pos[0]); if (ch== goog.i18n.NumberFormat.QUOTE_) { if (pos[0]+ 1< len &&pattern.charAt(pos[0]+ 1)== goog.i18n.NumberFormat.QUOTE_) { pos[0]++; affix+= '\''; // 'don''t' } else { inQuote= !inQuote; } continue; } |
| ||||
var ch= pattern.charAt(pos[0]); if (ch== goog.locale.NumberFormat.QUOTE_) { if (pos[0]+ 1< len &&pattern.charAt(pos[0]+ 1)== goog.locale.NumberFormat.QUOTE_) { pos[0]++; affix+= '\''; // 'don''t' } else { inQuote= !inQuote; } continue; } |
| |||
var ch=pattern.charAt(pos[0]); if (ch==goog. [[#variable61536800]].NumberFormat.QUOTE_) { if (pos[0]+1<len && pattern.charAt(pos[0]+1)==goog. [[#variable61536800]].NumberFormat.QUOTE_) { pos[0]++; affix+='\''; // 'don''t' } else { inQuote=!inQuote; } continue; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#61536800]] | locale |
1 | 2 | [[#61536800]] | i18n |