Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.966 | Block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 131 | Closure/closure/goog/date/daterange.js |
2 | 5 | 146 | Closure/closure/goog/date/daterange.js |
| ||||
{ var newDate= new goog.date.Date(date); newDate.add(new goog.date.Interval(goog.date.Interval.DAYS, offset)); return newDate; } |
| ||||
{ var newDate= new goog.date.Date(date); newDate.add(new goog.date.Interval(goog.date.Interval.DAYS, -newDate.getIsoWeekday( ))); return newDate; } |
| |||
{ var newDate=new goog.date.Date(date); newDate.add(new goog.date.Interval(goog.date.Interval.DAYS, [[#variable21092b20]])); return newDate; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21092b20]] | -newDate.getIsoWeekday( ) |
1 | 2 | [[#21092b20]] | offset |