| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 4 | 0.961 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 466 | Closure/closure/goog/date/date.js |
| 2 | 2 | 468 | Closure/closure/goog/date/date.js |
| 3 | 2 | 470 | Closure/closure/goog/date/date.js |
| ||||
this.years= type== goog.date.Interval.YEARS
? interval
: 0;
this.months= type== goog.date.Interval.MONTHS
? interval
: 0;
|
| ||||
this.days= type== goog.date.Interval.DAYS
? interval
: 0;
this.hours= type== goog.date.Interval.HOURS
? interval
: 0;
|
| ||||
this.minutes= type== goog.date.Interval.MINUTES
? interval
: 0;
this.seconds= type== goog.date.Interval.SECONDS
? interval
: 0;
|
| |||
this. [[#variable3ed67740]]=type==goog.date.Interval. [[#variable3d1eb4c0]]
?interval
: 0;
this. [[#variable3ed67360]]=type==goog.date.Interval. [[#variable20aa96a0]]
?interval
: 0;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3ed67740]] | years |
| 1 | 2 | [[#3ed67740]] | days |
| 1 | 3 | [[#3ed67740]] | minutes |
| 2 | 1 | [[#3d1eb4c0]] | YEARS |
| 2 | 2 | [[#3d1eb4c0]] | DAYS |
| 2 | 3 | [[#3d1eb4c0]] | MINUTES |
| 3 | 1 | [[#3ed67360]] | months |
| 3 | 2 | [[#3ed67360]] | hours |
| 3 | 3 | [[#3ed67360]] | seconds |
| 4 | 1 | [[#20aa96a0]] | MONTHS |
| 4 | 2 | [[#20aa96a0]] | HOURS |
| 4 | 3 | [[#20aa96a0]] | SECONDS |