Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 6 | 4 | 0.962 | Block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 339 | Closure/closure/goog/date/relative.js |
2 | 16 | 356 | Closure/closure/goog/date/relative.js |
3 | 15 | 373 | Closure/closure/goog/date/relative.js |
4 | 14 | 389 | Closure/closure/goog/date/relative.js |
5 | 14 | 404 | Closure/closure/goog/date/relative.js |
6 | 14 | 419 | Closure/closure/goog/date/relative.js |
| ||||
{ /** * @desc Relative date indicating how many minutes ago something happened * (singular). */ var MSG_MINUTES_AGO_SINGULAR= goog.getMsg('{$num} minute ago', { 'num': delta } ); /** * @desc Relative date indicating how many minutes ago something happened * (plural). */ var MSG_MINUTES_AGO_PLURAL= goog.getMsg('{$num} minutes ago', { 'num': delta } ); return delta== 1 ? MSG_MINUTES_AGO_SINGULAR : MSG_MINUTES_AGO_PLURAL; } |
| ||||
{ /** * @desc Relative date indicating in how many minutes something happens * (singular). */ var MSG_IN_MINUTES_SINGULAR= goog.getMsg('in {$num} minute', { 'num': delta } ); /** * @desc Relative date indicating in how many minutes something happens * (plural). */ var MSG_IN_MINUTES_PLURAL= goog.getMsg('in {$num} minutes', { 'num': delta } ); return delta== 1 ? MSG_IN_MINUTES_SINGULAR : MSG_IN_MINUTES_PLURAL; } |
| ||||
{ /** * @desc Relative date indicating how many hours ago something happened * (singular). */ var MSG_HOURS_AGO_SINGULAR= goog.getMsg('{$num} hour ago', { 'num': delta } ); /** * @desc Relative date indicating how many hours ago something happened * (plural). */ var MSG_HOURS_AGO_PLURAL= goog.getMsg('{$num} hours ago', { 'num': delta } ); return delta== 1 ? MSG_HOURS_AGO_SINGULAR : MSG_HOURS_AGO_PLURAL; } |
| ||||
{ /** * @desc Relative date indicating in how many hours something happens * (singular). */ var MSG_IN_HOURS_SINGULAR= goog.getMsg('in {$num} hour', { 'num': delta } ); /** * @desc Relative date indicating in how many hours something happens * (plural). */ var MSG_IN_HOURS_PLURAL= goog.getMsg('in {$num} hours', { 'num': delta } ); return delta== 1 ? MSG_IN_HOURS_SINGULAR : MSG_IN_HOURS_PLURAL; } |
| ||||
{ /** * @desc Relative date indicating how many days ago something happened * (singular). */ var MSG_DAYS_AGO_SINGULAR= goog.getMsg('{$num} day ago', { 'num': delta } ); /** * @desc Relative date indicating how many days ago something happened * (plural). */ var MSG_DAYS_AGO_PLURAL= goog.getMsg('{$num} days ago', { 'num': delta } ); return delta== 1 ? MSG_DAYS_AGO_SINGULAR : MSG_DAYS_AGO_PLURAL; } |
| ||||
{ /** * @desc Relative date indicating in how many days something happens * (singular). */ var MSG_IN_DAYS_SINGULAR= goog.getMsg('in {$num} day', { 'num': delta } ); /** * @desc Relative date indicating in how many days something happens * (plural). */ var MSG_IN_DAYS_PLURAL= goog.getMsg('in {$num} days', { 'num': delta } ); return delta== 1 ? MSG_IN_DAYS_SINGULAR : MSG_IN_DAYS_PLURAL; } |
| |||
{ /** * @desc Relative date indicating in how many days something happens * (singular). */ /** * @desc Relative date indicating how many days ago something happened * (singular). */ /** * @desc Relative date indicating in how many hours something happens * (singular). */ /** * @desc Relative date indicating how many hours ago something happened * (singular). */ /** * @desc Relative date indicating in how many minutes something happens * (singular). */ /** * @desc Relative date indicating how many minutes ago something happened * (singular). */ var [[#variable5c0c0540]]=goog.getMsg( [[#variable5c0c04c0]], { 'num':delta } ); /** * @desc Relative date indicating in how many days something happens * (plural). */ /** * @desc Relative date indicating how many days ago something happened * (plural). */ /** * @desc Relative date indicating in how many hours something happens * (plural). */ /** * @desc Relative date indicating how many hours ago something happened * (plural). */ /** * @desc Relative date indicating in how many minutes something happens * (plural). */ /** * @desc Relative date indicating how many minutes ago something happened * (plural). */ var [[#variable5c0c0460]]=goog.getMsg( [[#variable5c0c0400]], { 'num':delta } ); return delta==1 ? [[#variable5c0c0540]] : [[#variable5c0c0460]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5c0c0540]] | MSG_IN_DAYS_SINGULAR |
1 | 2 | [[#5c0c0540]] | MSG_DAYS_AGO_SINGULAR |
1 | 3 | [[#5c0c0540]] | MSG_IN_HOURS_SINGULAR |
1 | 4 | [[#5c0c0540]] | MSG_HOURS_AGO_SINGULAR |
1 | 5 | [[#5c0c0540]] | MSG_IN_MINUTES_SINGULAR |
1 | 6 | [[#5c0c0540]] | MSG_MINUTES_AGO_SINGULAR |
2 | 1 | [[#5c0c04c0]] | 'in {$num} day' |
2 | 2 | [[#5c0c04c0]] | '{$num} day ago' |
2 | 3 | [[#5c0c04c0]] | 'in {$num} hour' |
2 | 4 | [[#5c0c04c0]] | '{$num} hour ago' |
2 | 5 | [[#5c0c04c0]] | 'in {$num} minute' |
2 | 6 | [[#5c0c04c0]] | '{$num} minute ago' |
3 | 1 | [[#5c0c0460]] | MSG_IN_DAYS_PLURAL |
3 | 2 | [[#5c0c0460]] | MSG_DAYS_AGO_PLURAL |
3 | 3 | [[#5c0c0460]] | MSG_IN_HOURS_PLURAL |
3 | 4 | [[#5c0c0460]] | MSG_HOURS_AGO_PLURAL |
3 | 5 | [[#5c0c0460]] | MSG_IN_MINUTES_PLURAL |
3 | 6 | [[#5c0c0460]] | MSG_MINUTES_AGO_PLURAL |
4 | 1 | [[#5c0c0400]] | 'in {$num} days' |
4 | 2 | [[#5c0c0400]] | '{$num} days ago' |
4 | 3 | [[#5c0c0400]] | 'in {$num} hours' |
4 | 4 | [[#5c0c0400]] | '{$num} hours ago' |
4 | 5 | [[#5c0c0400]] | 'in {$num} minutes' |
4 | 6 | [[#5c0c0400]] | '{$num} minutes ago' |