CloneSet272


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.966Cases[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116628
Closure/closure/goog/i18n/numberformat.js
216600
Closure/closure/goog/locale/numberformat.js
Clone Instance
1
Line Count
16
Source Line
628
Source File
Closure/closure/goog/i18n/numberformat.js

        case goog.i18n.NumberFormat.PATTERN_PERCENT_:
          if (this.multiplier_!=  1) {
            throw Error('Too many percent/permill');
                                     }
          this.multiplier_=  100;
          affix+=  goog.i18n.NumberFormatSymbols.PERCENT;
          break;
        case goog.i18n.NumberFormat.PATTERN_PER_MILLE_:
          if (this.multiplier_!=  1) {
            throw Error('Too many percent/permill');
                                     }
          this.multiplier_=  1000;
          affix+=  goog.i18n.NumberFormatSymbols.PERMILL;
          break;
        default:
          affix+=  ch;


Clone Instance
2
Line Count
16
Source Line
600
Source File
Closure/closure/goog/locale/numberformat.js

        case goog.locale.NumberFormat.PATTERN_PERCENT_:
          if (this.multiplier_!=  1) {
            throw Error('Too many percent/permill');
                                     }
          this.multiplier_=  100;
          affix+=  this.symbols_.PERCENT;
          break;
        case goog.locale.NumberFormat.PATTERN_PER_MILLE_:
          if (this.multiplier_!=  1) {
            throw Error('Too many percent/permill');
                                     }
          this.multiplier_=  1000;
          affix+=  this.symbols_.PERMILL;
          break;
        default:
          affix+=  ch;


Clone AbstractionParameter Count: 3Parameter Bindings

case goog. [[#variable583c1a40]].NumberFormat.PATTERN_PERCENT_:
  if (this.multiplier_!=1)
    { throw Error('Too many percent/permill');
    }
  this.multiplier_=100;
  affix+= [[#variable5cc1b100]]. [[#variable583c1920]].PERCENT;
  break;
case goog. [[#variable583c1a40]].NumberFormat.PATTERN_PER_MILLE_:
  if (this.multiplier_!=1)
    { throw Error('Too many percent/permill');
    }
  this.multiplier_=1000;
  affix+= [[#variable5cc1b100]]. [[#variable583c1920]].PERMILL;
  break;
default:
  affix+=ch;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#583c1a40]]
locale 
12[[#583c1a40]]
i18n 
21[[#5cc1b100]]
this 
22[[#5cc1b100]]
goog.i18n 
31[[#583c1920]]
symbols_ 
32[[#583c1920]]
NumberFormatSymbols