Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.992 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 233 | Closure/closure/goog/i18n/datetimeformat.js |
2 | 11 | 202 | Closure/closure/goog/locale/datetimeformat.js |
| ||||
for (var i= 0; i< this.patternParts_.length; ++i) { var text= this.patternParts_[i].text; if (goog.i18n.DateTimeFormat.PartTypes_.FIELD== this.patternParts_[i].type) { out.push(this.formatField_(text, date, dateForDate, dateForTime, opt_timeZone)); } else { out.push(text); } } return out.join(''); |
| ||||
for (var i= 0; i< this.patternParts_.length; ++i) { var text= this.patternParts_[i].text; if (goog.locale.DateTimeFormat.PartTypes.FIELD== this.patternParts_[i].type) { out.push(this.formatField_(text, date, dateForDate, dateForTime, opt_timeZone)); } else { out.push(text); } } return out.join(''); |
| |||
for (var i=0; i<this.patternParts_.length; ++i) { var text=this.patternParts_[i].text; if (goog. [[#variable5ec6aa60]].DateTimeFormat. [[#variable615322a0]].FIELD==this.patternParts_[i].type) { out.push(this.formatField_(text,date,dateForDate,dateForTime,opt_timeZone)); } else { out.push(text); } } return out.join(''); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ec6aa60]] | locale |
1 | 2 | [[#5ec6aa60]] | i18n |
2 | 1 | [[#615322a0]] | PartTypes |
2 | 2 | [[#615322a0]] | PartTypes_ |