CloneSet244


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000StatementList[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113508
Closure/closure/goog/i18n/datetimeparse.js
213556
Closure/closure/goog/locale/datetimeparse.js
Clone Instance
1
Line Count
13
Source Line
508
Source File
Closure/closure/goog/i18n/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);
           }
                                  }


Clone Instance
2
Line Count
13
Source Line
556
Source File
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);
           }
                                  }


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None