Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | StatementList[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 508 | Closure/closure/goog/i18n/datetimeparse.js |
2 | 13 | 556 | Closure/closure/goog/locale/datetimeparse.js |
| ||||
var ch= part.text.charAt(0); // parse integer value if it is a numeric field var value= -1; if (this.isNumericField_(part)) { if (digitCount> 0) { if ((start+ digitCount)> text.length) { return false; } value= this.parseInt_( text.substring(0, start+ digitCount), pos); } else { value= this.parseInt_(text, pos); } } |
| ||||
var ch= part.text.charAt(0); // parse integer value if it is a numeric field var value= -1; if (this.isNumericField_(part)) { if (digitCount> 0) { if ((start+ digitCount)> text.length) { return false; } value= this.parseInt_( text.substring(0, start+ digitCount), pos); } else { value= this.parseInt_(text, pos); } } |
| |||
var ch=part.text.charAt(0); // parse integer value if it is a numeric field var value=-1; if (this.isNumericField_(part)) { if (digitCount>0) { if ((start+digitCount)>text.length) { return false; } value=this.parseInt_(text.substring(0,start+digitCount),pos); } else { value=this.parseInt_(text,pos); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |