CloneSet121


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14640.962Block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116339
Closure/closure/goog/date/relative.js
216356
Closure/closure/goog/date/relative.js
315373
Closure/closure/goog/date/relative.js
414389
Closure/closure/goog/date/relative.js
514404
Closure/closure/goog/date/relative.js
614419
Closure/closure/goog/date/relative.js
Clone Instance
1
Line Count
16
Source Line
339
Source File
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;
                                                           }


Clone Instance
2
Line Count
16
Source Line
356
Source File
Closure/closure/goog/date/relative.js

                                                                 {
    /**
     * @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;
                                                                 }


Clone Instance
3
Line Count
15
Source Line
373
Source File
Closure/closure/goog/date/relative.js

                                                                {
    /**
     * @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;
                                                                }


Clone Instance
4
Line Count
14
Source Line
389
Source File
Closure/closure/goog/date/relative.js

                                                               {
    /**
     * @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;
                                                               }


Clone Instance
5
Line Count
14
Source Line
404
Source File
Closure/closure/goog/date/relative.js

                                                               {
    /**
     * @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;
                                                               }


Clone Instance
6
Line Count
14
Source Line
419
Source File
Closure/closure/goog/date/relative.js

                                                              {
    /**
     * @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;
                                                              }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  /**
       * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5c0c0540]]
MSG_IN_DAYS_SINGULAR 
12[[#5c0c0540]]
MSG_DAYS_AGO_SINGULAR 
13[[#5c0c0540]]
MSG_IN_HOURS_SINGULAR 
14[[#5c0c0540]]
MSG_HOURS_AGO_SINGULAR 
15[[#5c0c0540]]
MSG_IN_MINUTES_SINGULAR 
16[[#5c0c0540]]
MSG_MINUTES_AGO_SINGULAR 
21[[#5c0c04c0]]
'in {$num} day' 
22[[#5c0c04c0]]
'{$num} day ago' 
23[[#5c0c04c0]]
'in {$num} hour' 
24[[#5c0c04c0]]
'{$num} hour ago' 
25[[#5c0c04c0]]
'in {$num} minute' 
26[[#5c0c04c0]]
'{$num} minute ago' 
31[[#5c0c0460]]
MSG_IN_DAYS_PLURAL 
32[[#5c0c0460]]
MSG_DAYS_AGO_PLURAL 
33[[#5c0c0460]]
MSG_IN_HOURS_PLURAL 
34[[#5c0c0460]]
MSG_HOURS_AGO_PLURAL 
35[[#5c0c0460]]
MSG_IN_MINUTES_PLURAL 
36[[#5c0c0460]]
MSG_MINUTES_AGO_PLURAL 
41[[#5c0c0400]]
'in {$num} days' 
42[[#5c0c0400]]
'{$num} days ago' 
43[[#5c0c0400]]
'in {$num} hours' 
44[[#5c0c0400]]
'{$num} hours ago' 
45[[#5c0c0400]]
'in {$num} minutes' 
46[[#5c0c0400]]
'{$num} minutes ago'