Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.959 | StatementList[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 177 | Closure/closure/goog/date/daterange.js |
2 | 2 | 201 | Closure/closure/goog/date/daterange.js |
3 | 2 | 250 | Closure/closure/goog/date/daterange.js |
| ||||
var today= new goog.date.Date(opt_today); var yesterday= goog.date.DateRange.offsetInDays_(today, -1); |
| ||||
var today= new goog.date.Date(opt_today); var yesterday= goog.date.DateRange.offsetInDays_(today, -1); |
| ||||
var today= new goog.date.Date(opt_today); var start= goog.date.DateRange.offsetInDays_(today, -today.getIsoWeekday( )); |
| |||
var today=new goog.date.Date(opt_today); var [[#variable3fddc320]]=goog.date.DateRange.offsetInDays_(today,- [[#variable3fb20240]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3fddc320]] | yesterday |
1 | 2 | [[#3fddc320]] | start |
1 | 3 | [[#3fddc320]] | yesterday |
2 | 1 | [[#3fb20240]] | 1 |
2 | 2 | [[#3fb20240]] | today.getIsoWeekday( ) |
2 | 3 | [[#3fb20240]] | 1 |