angular/angular.js

View on GitHub

Showing 4,250 of 4,250 total issues

Similar blocks of code found in 6 locations. Consider refactoring.
Open

goog.i18n.DateTimeSymbols_ar = {
  ZERODIGIT: 0x0660,
  ERAS: ['ق.م', 'م'],
  ERANAMES: ['قبل الميلاد', 'ميلادي'],
  NARROWMONTHS: ['ي', 'ف', 'م', 'أ', 'و', 'ن', 'ل', 'غ', 'س', 'ك', 'ب', 'د'],
Severity: Major
Found in i18n/closure/datetimeSymbols.js and 5 other locations - About 1 day to fix
i18n/closure/datetimeSymbols.js on lines 390..415
i18n/closure/datetimeSymbols.js on lines 1159..1184
i18n/closure/datetimeSymbols.js on lines 2210..2235
i18n/closure/datetimeSymbols.js on lines 2301..2326
i18n/closure/datetimeSymbols.js on lines 2362..2387

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 303.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Function $$AnimationProvider has 333 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var $$AnimationProvider = ['$animateProvider', /** @this */ function($animateProvider) {
  var NG_ANIMATE_REF_ATTR = 'ng-animate-ref';

  var drivers = this.drivers = [];

Severity: Major
Found in src/ngAnimate/animation.js - About 1 day to fix

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_ar_DZ = {
      ERAS: ['ق.م', 'م'],
      ERANAMES: ['قبل الميلاد', 'ميلادي'],
      NARROWMONTHS: ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'],
      STANDALONENARROWMONTHS: ['ج', 'ف', 'م', 'أ', 'م', 'ج', 'ج', 'أ', 'س', 'أ', 'ن', 'د'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_be = {
      ERAS: ['да н.э.', 'н.э.'],
      ERANAMES: ['да нараджэння Хрыстова', 'ад нараджэння Хрыстова'],
      NARROWMONTHS: ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'],
      STANDALONENARROWMONTHS: ['с', 'л', 'с', 'к', 'м', 'ч', 'л', 'ж', 'в', 'к', 'л', 'с'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_af = {
      ERAS: ['v.C.', 'n.C.'],
      ERANAMES: ['voor Christus', 'na Christus'],
      NARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
      STANDALONENARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_en_AU = {
      ERAS: ['BC', 'AD'],
      ERANAMES: ['Before Christ', 'Anno Domini'],
      NARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
      STANDALONENARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_br = {
      ERAS: ['a-raok J.K.', 'goude J.K.'],
      ERANAMES: ['a-raok Jezuz-Krist', 'goude Jezuz-Krist'],
      NARROWMONTHS: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
      STANDALONENARROWMONTHS: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_de = {
      ERAS: ['v. Chr.', 'n. Chr.'],
      ERANAMES: ['v. Chr.', 'n. Chr.'],
      NARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
      STANDALONENARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_el = {
      ERAS: ['π.Χ.', 'μ.Χ.'],
      ERANAMES: ['προ Χριστού', 'μετά Χριστόν'],
      NARROWMONTHS: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'],
      STANDALONENARROWMONTHS: ['Ι', 'Φ', 'Μ', 'Α', 'Μ', 'Ι', 'Ι', 'Α', 'Σ', 'Ο', 'Ν', 'Δ'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_bs = {
      ERAS: ['p. n. e.', 'n. e.'],
      ERANAMES: ['prije nove ere', 'nove ere'],
      NARROWMONTHS: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
      STANDALONENARROWMONTHS: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_az = {
      ERAS: ['e.ə.', 'y.e.'],
      ERANAMES: ['eramızdan əvvəl', 'yeni era'],
      NARROWMONTHS: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
      STANDALONENARROWMONTHS: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_en = {
      ERAS: ['BC', 'AD'],
      ERANAMES: ['Before Christ', 'Anno Domini'],
      NARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
      STANDALONENARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_bg = {
      ERAS: ['пр.Хр.', 'сл.Хр.'],
      ERANAMES: ['преди Христа', 'след Христа'],
      NARROWMONTHS: ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'],
      STANDALONENARROWMONTHS: ['я', 'ф', 'м', 'а', 'м', 'ю', 'ю', 'а', 'с', 'о', 'н', 'д'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_cs = {
      ERAS: ['př. n. l.', 'n. l.'],
      ERANAMES: ['př. n. l.', 'n. l.'],
      NARROWMONTHS: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
      STANDALONENARROWMONTHS: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_cy = {
      ERAS: ['CC', 'OC'],
      ERANAMES: ['Cyn Crist', 'Oed Crist'],
      NARROWMONTHS: ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'],
      STANDALONENARROWMONTHS: ['I', 'Ch', 'M', 'E', 'M', 'M', 'G', 'A', 'M', 'H', 'T', 'Rh'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_am = {
      ERAS: ['ዓ/ዓ', 'ዓ/ም'],
      ERANAMES: ['ዓመተ ዓለም', 'ዓመተ ምሕረት'],
      NARROWMONTHS: ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'],
      STANDALONENARROWMONTHS: ['ጃ', 'ፌ', 'ማ', 'ኤ', 'ሜ', 'ጁ', 'ጁ', 'ኦ', 'ሴ', 'ኦ', 'ኖ', 'ዲ'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_da = {
      ERAS: ['f.Kr.', 'e.Kr.'],
      ERANAMES: ['f.Kr.', 'e.Kr.'],
      NARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
      STANDALONENARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_ca = {
      ERAS: ['aC', 'dC'],
      ERANAMES: ['abans de Crist', 'després de Crist'],
      NARROWMONTHS: ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'],
      STANDALONENARROWMONTHS: ['GN', 'FB', 'MÇ', 'AB', 'MG', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DS'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_chr = {
      ERAS: ['BC', 'AD'],
      ERANAMES: ['ᏧᏓᎷᎸ ᎤᎷᎯᏍᏗ ᎦᎶᏁᏛ', 'ᎠᏃ ᏙᎻᏂ'],
      NARROWMONTHS: ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'],
      STANDALONENARROWMONTHS: ['Ꭴ', 'Ꭷ', 'Ꭰ', 'Ꭷ', 'Ꭰ', 'Ꮥ', 'Ꭻ', 'Ꭶ', 'Ꮪ', 'Ꮪ', 'Ꮕ', 'Ꭵ'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 787..811
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 98 locations. Consider refactoring.
    Open

    goog.i18n.DateTimeSymbols_en_CA = {
      ERAS: ['BC', 'AD'],
      ERANAMES: ['Before Christ', 'Anno Domini'],
      NARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
      STANDALONENARROWMONTHS: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
    Severity: Major
    Found in i18n/closure/datetimeSymbols.js and 97 other locations - About 1 day to fix
    i18n/closure/datetimeSymbols.js on lines 179..203
    i18n/closure/datetimeSymbols.js on lines 209..233
    i18n/closure/datetimeSymbols.js on lines 270..294
    i18n/closure/datetimeSymbols.js on lines 300..324
    i18n/closure/datetimeSymbols.js on lines 330..354
    i18n/closure/datetimeSymbols.js on lines 360..384
    i18n/closure/datetimeSymbols.js on lines 421..445
    i18n/closure/datetimeSymbols.js on lines 451..475
    i18n/closure/datetimeSymbols.js on lines 481..505
    i18n/closure/datetimeSymbols.js on lines 511..535
    i18n/closure/datetimeSymbols.js on lines 541..565
    i18n/closure/datetimeSymbols.js on lines 571..595
    i18n/closure/datetimeSymbols.js on lines 601..625
    i18n/closure/datetimeSymbols.js on lines 631..655
    i18n/closure/datetimeSymbols.js on lines 661..685
    i18n/closure/datetimeSymbols.js on lines 697..721
    i18n/closure/datetimeSymbols.js on lines 727..751
    i18n/closure/datetimeSymbols.js on lines 757..781
    i18n/closure/datetimeSymbols.js on lines 817..841
    i18n/closure/datetimeSymbols.js on lines 847..871
    i18n/closure/datetimeSymbols.js on lines 877..901
    i18n/closure/datetimeSymbols.js on lines 907..931
    i18n/closure/datetimeSymbols.js on lines 943..967
    i18n/closure/datetimeSymbols.js on lines 973..997
    i18n/closure/datetimeSymbols.js on lines 1003..1027
    i18n/closure/datetimeSymbols.js on lines 1039..1063
    i18n/closure/datetimeSymbols.js on lines 1069..1093
    i18n/closure/datetimeSymbols.js on lines 1099..1123
    i18n/closure/datetimeSymbols.js on lines 1129..1153
    i18n/closure/datetimeSymbols.js on lines 1190..1214
    i18n/closure/datetimeSymbols.js on lines 1220..1244
    i18n/closure/datetimeSymbols.js on lines 1250..1274
    i18n/closure/datetimeSymbols.js on lines 1280..1304
    i18n/closure/datetimeSymbols.js on lines 1310..1334
    i18n/closure/datetimeSymbols.js on lines 1340..1364
    i18n/closure/datetimeSymbols.js on lines 1370..1394
    i18n/closure/datetimeSymbols.js on lines 1400..1424
    i18n/closure/datetimeSymbols.js on lines 1430..1454
    i18n/closure/datetimeSymbols.js on lines 1460..1484
    i18n/closure/datetimeSymbols.js on lines 1490..1514
    i18n/closure/datetimeSymbols.js on lines 1520..1544
    i18n/closure/datetimeSymbols.js on lines 1550..1574
    i18n/closure/datetimeSymbols.js on lines 1580..1604
    i18n/closure/datetimeSymbols.js on lines 1610..1634
    i18n/closure/datetimeSymbols.js on lines 1640..1664
    i18n/closure/datetimeSymbols.js on lines 1670..1694
    i18n/closure/datetimeSymbols.js on lines 1700..1724
    i18n/closure/datetimeSymbols.js on lines 1730..1754
    i18n/closure/datetimeSymbols.js on lines 1760..1784
    i18n/closure/datetimeSymbols.js on lines 1790..1814
    i18n/closure/datetimeSymbols.js on lines 1820..1844
    i18n/closure/datetimeSymbols.js on lines 1850..1874
    i18n/closure/datetimeSymbols.js on lines 1880..1904
    i18n/closure/datetimeSymbols.js on lines 1910..1934
    i18n/closure/datetimeSymbols.js on lines 1940..1964
    i18n/closure/datetimeSymbols.js on lines 1970..1994
    i18n/closure/datetimeSymbols.js on lines 2000..2024
    i18n/closure/datetimeSymbols.js on lines 2030..2054
    i18n/closure/datetimeSymbols.js on lines 2060..2084
    i18n/closure/datetimeSymbols.js on lines 2090..2114
    i18n/closure/datetimeSymbols.js on lines 2120..2144
    i18n/closure/datetimeSymbols.js on lines 2150..2174
    i18n/closure/datetimeSymbols.js on lines 2180..2204
    i18n/closure/datetimeSymbols.js on lines 2241..2265
    i18n/closure/datetimeSymbols.js on lines 2271..2295
    i18n/closure/datetimeSymbols.js on lines 2332..2356
    i18n/closure/datetimeSymbols.js on lines 2393..2417
    i18n/closure/datetimeSymbols.js on lines 2423..2447
    i18n/closure/datetimeSymbols.js on lines 2459..2483
    i18n/closure/datetimeSymbols.js on lines 2489..2513
    i18n/closure/datetimeSymbols.js on lines 2519..2543
    i18n/closure/datetimeSymbols.js on lines 2549..2573
    i18n/closure/datetimeSymbols.js on lines 2585..2609
    i18n/closure/datetimeSymbols.js on lines 2615..2639
    i18n/closure/datetimeSymbols.js on lines 2645..2669
    i18n/closure/datetimeSymbols.js on lines 2675..2699
    i18n/closure/datetimeSymbols.js on lines 2705..2729
    i18n/closure/datetimeSymbols.js on lines 2735..2759
    i18n/closure/datetimeSymbols.js on lines 2765..2789
    i18n/closure/datetimeSymbols.js on lines 2795..2819
    i18n/closure/datetimeSymbols.js on lines 2825..2849
    i18n/closure/datetimeSymbols.js on lines 2855..2879
    i18n/closure/datetimeSymbols.js on lines 2885..2909
    i18n/closure/datetimeSymbols.js on lines 2915..2939
    i18n/closure/datetimeSymbols.js on lines 2945..2969
    i18n/closure/datetimeSymbols.js on lines 2975..2999
    i18n/closure/datetimeSymbols.js on lines 3005..3029
    i18n/closure/datetimeSymbols.js on lines 3035..3059
    i18n/closure/datetimeSymbols.js on lines 3065..3089
    i18n/closure/datetimeSymbols.js on lines 3095..3119
    i18n/closure/datetimeSymbols.js on lines 3125..3149
    i18n/closure/datetimeSymbols.js on lines 3155..3179
    i18n/closure/datetimeSymbols.js on lines 3185..3209
    i18n/closure/datetimeSymbols.js on lines 3215..3239
    i18n/closure/datetimeSymbols.js on lines 3251..3275
    i18n/closure/datetimeSymbols.js on lines 3281..3305
    i18n/closure/datetimeSymbols.js on lines 3311..3335

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 298.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Severity
    Category
    Status
    Source
    Language