angular/angular.js

View on GitHub

Showing 4,250 of 4,250 total issues

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

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_en-ki.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_ksb-tz.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_nl-nl.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_gv.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_bas-cm.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_it.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_smn-fi.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_kln.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_ewo-cm.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_en-in.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_en-na.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_qu-ec.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_nn.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_en-001.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_rm-ch.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_ks-in.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_guz.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_yav.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_mer-ke.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-at.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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 418 locations. Consider refactoring.
Open

angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
  n = n + '';
  var i = n.indexOf('.');
Severity: Major
Found in src/ngLocale/angular-locale_de-at.js and 417 other locations - About 3 days to fix
src/ngLocale/angular-locale_agq-cm.js on lines 2..143
src/ngLocale/angular-locale_agq.js on lines 2..143
src/ngLocale/angular-locale_ak-gh.js on lines 2..143
src/ngLocale/angular-locale_ak.js on lines 2..143
src/ngLocale/angular-locale_as-in.js on lines 2..143
src/ngLocale/angular-locale_as.js on lines 2..143
src/ngLocale/angular-locale_asa-tz.js on lines 2..143
src/ngLocale/angular-locale_asa.js on lines 2..143
src/ngLocale/angular-locale_ast-es.js on lines 2..143
src/ngLocale/angular-locale_ast.js on lines 2..143
src/ngLocale/angular-locale_bas-cm.js on lines 2..143
src/ngLocale/angular-locale_bas.js on lines 2..143
src/ngLocale/angular-locale_bem-zm.js on lines 2..143
src/ngLocale/angular-locale_bem.js on lines 2..143
src/ngLocale/angular-locale_bez-tz.js on lines 2..143
src/ngLocale/angular-locale_bez.js on lines 2..143
src/ngLocale/angular-locale_bm-ml.js on lines 2..143
src/ngLocale/angular-locale_bm.js on lines 2..143
src/ngLocale/angular-locale_bo-cn.js on lines 2..143
src/ngLocale/angular-locale_bo-in.js on lines 2..143
src/ngLocale/angular-locale_bo.js on lines 2..143
src/ngLocale/angular-locale_brx-in.js on lines 2..143
src/ngLocale/angular-locale_brx.js on lines 2..143
src/ngLocale/angular-locale_ca-ad.js on lines 2..143
src/ngLocale/angular-locale_ca-es-valencia.js on lines 2..143
src/ngLocale/angular-locale_ca-es.js on lines 2..143
src/ngLocale/angular-locale_ca-fr.js on lines 2..143
src/ngLocale/angular-locale_ca-it.js on lines 2..143
src/ngLocale/angular-locale_ca.js on lines 2..143
src/ngLocale/angular-locale_ce-ru.js on lines 2..143
src/ngLocale/angular-locale_ce.js on lines 2..143
src/ngLocale/angular-locale_cgg-ug.js on lines 2..143
src/ngLocale/angular-locale_cgg.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-arab.js on lines 2..143
src/ngLocale/angular-locale_ckb-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-ir.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn-iq.js on lines 2..143
src/ngLocale/angular-locale_ckb-latn.js on lines 2..143
src/ngLocale/angular-locale_ckb.js on lines 2..143
src/ngLocale/angular-locale_cu-ru.js on lines 2..143
src/ngLocale/angular-locale_cu.js on lines 2..143
src/ngLocale/angular-locale_dav-ke.js on lines 2..143
src/ngLocale/angular-locale_dav.js on lines 2..143
src/ngLocale/angular-locale_de-be.js on lines 2..143
src/ngLocale/angular-locale_de-ch.js on lines 2..143
src/ngLocale/angular-locale_de-de.js on lines 2..143
src/ngLocale/angular-locale_de-it.js on lines 2..143
src/ngLocale/angular-locale_de-li.js on lines 2..143
src/ngLocale/angular-locale_de-lu.js on lines 2..143
src/ngLocale/angular-locale_de.js on lines 2..143
src/ngLocale/angular-locale_dje-ne.js on lines 2..143
src/ngLocale/angular-locale_dje.js on lines 2..143
src/ngLocale/angular-locale_dsb-de.js on lines 2..143
src/ngLocale/angular-locale_dsb.js on lines 2..143
src/ngLocale/angular-locale_dua-cm.js on lines 2..143
src/ngLocale/angular-locale_dua.js on lines 2..143
src/ngLocale/angular-locale_dyo-sn.js on lines 2..143
src/ngLocale/angular-locale_dyo.js on lines 2..143
src/ngLocale/angular-locale_dz-bt.js on lines 2..143
src/ngLocale/angular-locale_dz.js on lines 2..143
src/ngLocale/angular-locale_ebu-ke.js on lines 2..143
src/ngLocale/angular-locale_ebu.js on lines 2..143
src/ngLocale/angular-locale_ee-gh.js on lines 2..143
src/ngLocale/angular-locale_ee-tg.js on lines 2..143
src/ngLocale/angular-locale_ee.js on lines 2..143
src/ngLocale/angular-locale_en-001.js on lines 2..143
src/ngLocale/angular-locale_en-150.js on lines 2..143
src/ngLocale/angular-locale_en-ag.js on lines 2..143
src/ngLocale/angular-locale_en-ai.js on lines 2..143
src/ngLocale/angular-locale_en-as.js on lines 2..143
src/ngLocale/angular-locale_en-at.js on lines 2..143
src/ngLocale/angular-locale_en-au.js on lines 2..143
src/ngLocale/angular-locale_en-bb.js on lines 2..143
src/ngLocale/angular-locale_en-be.js on lines 2..143
src/ngLocale/angular-locale_en-bi.js on lines 2..143
src/ngLocale/angular-locale_en-bm.js on lines 2..143
src/ngLocale/angular-locale_en-bs.js on lines 2..143
src/ngLocale/angular-locale_en-bw.js on lines 2..143
src/ngLocale/angular-locale_en-bz.js on lines 2..143
src/ngLocale/angular-locale_en-ca.js on lines 2..143
src/ngLocale/angular-locale_en-cc.js on lines 2..143
src/ngLocale/angular-locale_en-ch.js on lines 2..143
src/ngLocale/angular-locale_en-ck.js on lines 2..143
src/ngLocale/angular-locale_en-cm.js on lines 2..143
src/ngLocale/angular-locale_en-cx.js on lines 2..143
src/ngLocale/angular-locale_en-cy.js on lines 2..143
src/ngLocale/angular-locale_en-de.js on lines 2..143
src/ngLocale/angular-locale_en-dg.js on lines 2..143
src/ngLocale/angular-locale_en-dk.js on lines 2..143
src/ngLocale/angular-locale_en-dm.js on lines 2..143
src/ngLocale/angular-locale_en-er.js on lines 2..143
src/ngLocale/angular-locale_en-fi.js on lines 2..143
src/ngLocale/angular-locale_en-fj.js on lines 2..143
src/ngLocale/angular-locale_en-fk.js on lines 2..143
src/ngLocale/angular-locale_en-fm.js on lines 2..143
src/ngLocale/angular-locale_en-gb.js on lines 2..143
src/ngLocale/angular-locale_en-gd.js on lines 2..143
src/ngLocale/angular-locale_en-gg.js on lines 2..143
src/ngLocale/angular-locale_en-gh.js on lines 2..143
src/ngLocale/angular-locale_en-gi.js on lines 2..143
src/ngLocale/angular-locale_en-gm.js on lines 2..143
src/ngLocale/angular-locale_en-gu.js on lines 2..143
src/ngLocale/angular-locale_en-gy.js on lines 2..143
src/ngLocale/angular-locale_en-hk.js on lines 2..143
src/ngLocale/angular-locale_en-ie.js on lines 2..143
src/ngLocale/angular-locale_en-il.js on lines 2..143
src/ngLocale/angular-locale_en-im.js on lines 2..143
src/ngLocale/angular-locale_en-in.js on lines 2..143
src/ngLocale/angular-locale_en-io.js on lines 2..143
src/ngLocale/angular-locale_en-iso.js on lines 2..143
src/ngLocale/angular-locale_en-je.js on lines 2..143
src/ngLocale/angular-locale_en-jm.js on lines 2..143
src/ngLocale/angular-locale_en-ke.js on lines 2..143
src/ngLocale/angular-locale_en-ki.js on lines 2..143
src/ngLocale/angular-locale_en-kn.js on lines 2..143
src/ngLocale/angular-locale_en-ky.js on lines 2..143
src/ngLocale/angular-locale_en-lc.js on lines 2..143
src/ngLocale/angular-locale_en-lr.js on lines 2..143
src/ngLocale/angular-locale_en-ls.js on lines 2..143
src/ngLocale/angular-locale_en-mg.js on lines 2..143
src/ngLocale/angular-locale_en-mh.js on lines 2..143
src/ngLocale/angular-locale_en-mo.js on lines 2..143
src/ngLocale/angular-locale_en-mp.js on lines 2..143
src/ngLocale/angular-locale_en-ms.js on lines 2..143
src/ngLocale/angular-locale_en-mt.js on lines 2..143
src/ngLocale/angular-locale_en-mu.js on lines 2..143
src/ngLocale/angular-locale_en-mw.js on lines 2..143
src/ngLocale/angular-locale_en-my.js on lines 2..143
src/ngLocale/angular-locale_en-na.js on lines 2..143
src/ngLocale/angular-locale_en-nf.js on lines 2..143
src/ngLocale/angular-locale_en-ng.js on lines 2..143
src/ngLocale/angular-locale_en-nl.js on lines 2..143
src/ngLocale/angular-locale_en-nr.js on lines 2..143
src/ngLocale/angular-locale_en-nu.js on lines 2..143
src/ngLocale/angular-locale_en-nz.js on lines 2..143
src/ngLocale/angular-locale_en-pg.js on lines 2..143
src/ngLocale/angular-locale_en-ph.js on lines 2..143
src/ngLocale/angular-locale_en-pk.js on lines 2..143
src/ngLocale/angular-locale_en-pn.js on lines 2..143
src/ngLocale/angular-locale_en-pr.js on lines 2..143
src/ngLocale/angular-locale_en-pw.js on lines 2..143
src/ngLocale/angular-locale_en-rw.js on lines 2..143
src/ngLocale/angular-locale_en-sb.js on lines 2..143
src/ngLocale/angular-locale_en-sc.js on lines 2..143
src/ngLocale/angular-locale_en-sd.js on lines 2..143
src/ngLocale/angular-locale_en-se.js on lines 2..143
src/ngLocale/angular-locale_en-sg.js on lines 2..143
src/ngLocale/angular-locale_en-sh.js on lines 2..143
src/ngLocale/angular-locale_en-si.js on lines 2..143
src/ngLocale/angular-locale_en-sl.js on lines 2..143
src/ngLocale/angular-locale_en-ss.js on lines 2..143
src/ngLocale/angular-locale_en-sx.js on lines 2..143
src/ngLocale/angular-locale_en-sz.js on lines 2..143
src/ngLocale/angular-locale_en-tc.js on lines 2..143
src/ngLocale/angular-locale_en-tk.js on lines 2..143
src/ngLocale/angular-locale_en-to.js on lines 2..143
src/ngLocale/angular-locale_en-tt.js on lines 2..143
src/ngLocale/angular-locale_en-tv.js on lines 2..143
src/ngLocale/angular-locale_en-tz.js on lines 2..143
src/ngLocale/angular-locale_en-ug.js on lines 2..143
src/ngLocale/angular-locale_en-um.js on lines 2..143
src/ngLocale/angular-locale_en-us-posix.js on lines 2..143
src/ngLocale/angular-locale_en-us.js on lines 2..143
src/ngLocale/angular-locale_en-vc.js on lines 2..143
src/ngLocale/angular-locale_en-vg.js on lines 2..143
src/ngLocale/angular-locale_en-vi.js on lines 2..143
src/ngLocale/angular-locale_en-vu.js on lines 2..143
src/ngLocale/angular-locale_en-ws.js on lines 2..143
src/ngLocale/angular-locale_en-xa.js on lines 2..143
src/ngLocale/angular-locale_en-za.js on lines 2..143
src/ngLocale/angular-locale_en-zm.js on lines 2..143
src/ngLocale/angular-locale_en-zw.js on lines 2..143
src/ngLocale/angular-locale_en.js on lines 2..143
src/ngLocale/angular-locale_eo-001.js on lines 2..143
src/ngLocale/angular-locale_eo.js on lines 2..143
src/ngLocale/angular-locale_et-ee.js on lines 2..143
src/ngLocale/angular-locale_et.js on lines 2..143
src/ngLocale/angular-locale_ewo-cm.js on lines 2..143
src/ngLocale/angular-locale_ewo.js on lines 2..143
src/ngLocale/angular-locale_ff-cm.js on lines 2..143
src/ngLocale/angular-locale_ff-gn.js on lines 2..143
src/ngLocale/angular-locale_ff-mr.js on lines 2..143
src/ngLocale/angular-locale_ff-sn.js on lines 2..143
src/ngLocale/angular-locale_ff.js on lines 2..143
src/ngLocale/angular-locale_fi-fi.js on lines 2..143
src/ngLocale/angular-locale_fi.js on lines 2..143
src/ngLocale/angular-locale_fo-dk.js on lines 2..143
src/ngLocale/angular-locale_fo-fo.js on lines 2..143
src/ngLocale/angular-locale_fo.js on lines 2..143
src/ngLocale/angular-locale_fur-it.js on lines 2..143
src/ngLocale/angular-locale_fur.js on lines 2..143
src/ngLocale/angular-locale_fy-nl.js on lines 2..143
src/ngLocale/angular-locale_fy.js on lines 2..143
src/ngLocale/angular-locale_gd-gb.js on lines 2..143
src/ngLocale/angular-locale_gd.js on lines 2..143
src/ngLocale/angular-locale_gl-es.js on lines 2..143
src/ngLocale/angular-locale_gl.js on lines 2..143
src/ngLocale/angular-locale_guz-ke.js on lines 2..143
src/ngLocale/angular-locale_guz.js on lines 2..143
src/ngLocale/angular-locale_gv-im.js on lines 2..143
src/ngLocale/angular-locale_gv.js on lines 2..143
src/ngLocale/angular-locale_ha-gh.js on lines 2..143
src/ngLocale/angular-locale_ha-ne.js on lines 2..143
src/ngLocale/angular-locale_ha-ng.js on lines 2..143
src/ngLocale/angular-locale_ha.js on lines 2..143
src/ngLocale/angular-locale_hsb-de.js on lines 2..143
src/ngLocale/angular-locale_hsb.js on lines 2..143
src/ngLocale/angular-locale_ig-ng.js on lines 2..143
src/ngLocale/angular-locale_ig.js on lines 2..143
src/ngLocale/angular-locale_ii-cn.js on lines 2..143
src/ngLocale/angular-locale_ii.js on lines 2..143
src/ngLocale/angular-locale_it-ch.js on lines 2..143
src/ngLocale/angular-locale_it-it.js on lines 2..143
src/ngLocale/angular-locale_it-sm.js on lines 2..143
src/ngLocale/angular-locale_it-va.js on lines 2..143
src/ngLocale/angular-locale_it.js on lines 2..143
src/ngLocale/angular-locale_jgo-cm.js on lines 2..143
src/ngLocale/angular-locale_jgo.js on lines 2..143
src/ngLocale/angular-locale_jmc-tz.js on lines 2..143
src/ngLocale/angular-locale_jmc.js on lines 2..143
src/ngLocale/angular-locale_kab-dz.js on lines 2..143
src/ngLocale/angular-locale_kab.js on lines 2..143
src/ngLocale/angular-locale_kam-ke.js on lines 2..143
src/ngLocale/angular-locale_kam.js on lines 2..143
src/ngLocale/angular-locale_kde-tz.js on lines 2..143
src/ngLocale/angular-locale_kde.js on lines 2..143
src/ngLocale/angular-locale_kea-cv.js on lines 2..143
src/ngLocale/angular-locale_kea.js on lines 2..143
src/ngLocale/angular-locale_khq-ml.js on lines 2..143
src/ngLocale/angular-locale_khq.js on lines 2..143
src/ngLocale/angular-locale_ki-ke.js on lines 2..143
src/ngLocale/angular-locale_ki.js on lines 2..143
src/ngLocale/angular-locale_kkj-cm.js on lines 2..143
src/ngLocale/angular-locale_kkj.js on lines 2..143
src/ngLocale/angular-locale_kl-gl.js on lines 2..143
src/ngLocale/angular-locale_kl.js on lines 2..143
src/ngLocale/angular-locale_kln-ke.js on lines 2..143
src/ngLocale/angular-locale_kln.js on lines 2..143
src/ngLocale/angular-locale_kok-in.js on lines 2..143
src/ngLocale/angular-locale_kok.js on lines 2..143
src/ngLocale/angular-locale_ks-in.js on lines 2..143
src/ngLocale/angular-locale_ks.js on lines 2..143
src/ngLocale/angular-locale_ksb-tz.js on lines 2..143
src/ngLocale/angular-locale_ksb.js on lines 2..143
src/ngLocale/angular-locale_ksf-cm.js on lines 2..143
src/ngLocale/angular-locale_ksf.js on lines 2..143
src/ngLocale/angular-locale_ksh-de.js on lines 2..143
src/ngLocale/angular-locale_ksh.js on lines 2..143
src/ngLocale/angular-locale_kw-gb.js on lines 2..143
src/ngLocale/angular-locale_kw.js on lines 2..143
src/ngLocale/angular-locale_lag-tz.js on lines 2..143
src/ngLocale/angular-locale_lag.js on lines 2..143
src/ngLocale/angular-locale_lb-lu.js on lines 2..143
src/ngLocale/angular-locale_lb.js on lines 2..143
src/ngLocale/angular-locale_lg-ug.js on lines 2..143
src/ngLocale/angular-locale_lg.js on lines 2..143
src/ngLocale/angular-locale_lkt-us.js on lines 2..143
src/ngLocale/angular-locale_lkt.js on lines 2..143
src/ngLocale/angular-locale_lrc-iq.js on lines 2..143
src/ngLocale/angular-locale_lrc-ir.js on lines 2..143
src/ngLocale/angular-locale_lrc.js on lines 2..143
src/ngLocale/angular-locale_lu-cd.js on lines 2..143
src/ngLocale/angular-locale_lu.js on lines 2..143
src/ngLocale/angular-locale_luo-ke.js on lines 2..143
src/ngLocale/angular-locale_luo.js on lines 2..143
src/ngLocale/angular-locale_luy-ke.js on lines 2..143
src/ngLocale/angular-locale_luy.js on lines 2..143
src/ngLocale/angular-locale_mas-ke.js on lines 2..143
src/ngLocale/angular-locale_mas-tz.js on lines 2..143
src/ngLocale/angular-locale_mas.js on lines 2..143
src/ngLocale/angular-locale_mer-ke.js on lines 2..143
src/ngLocale/angular-locale_mer.js on lines 2..143
src/ngLocale/angular-locale_mfe-mu.js on lines 2..143
src/ngLocale/angular-locale_mfe.js on lines 2..143
src/ngLocale/angular-locale_mg-mg.js on lines 2..143
src/ngLocale/angular-locale_mg.js on lines 2..143
src/ngLocale/angular-locale_mgh-mz.js on lines 2..143
src/ngLocale/angular-locale_mgh.js on lines 2..143
src/ngLocale/angular-locale_mgo-cm.js on lines 2..143
src/ngLocale/angular-locale_mgo.js on lines 2..143
src/ngLocale/angular-locale_mua-cm.js on lines 2..143
src/ngLocale/angular-locale_mua.js on lines 2..143
src/ngLocale/angular-locale_mzn-ir.js on lines 2..143
src/ngLocale/angular-locale_mzn.js on lines 2..143
src/ngLocale/angular-locale_naq-na.js on lines 2..143
src/ngLocale/angular-locale_naq.js on lines 2..143
src/ngLocale/angular-locale_nd-zw.js on lines 2..143
src/ngLocale/angular-locale_nd.js on lines 2..143
src/ngLocale/angular-locale_nds-de.js on lines 2..143
src/ngLocale/angular-locale_nds-nl.js on lines 2..143
src/ngLocale/angular-locale_nds.js on lines 2..143
src/ngLocale/angular-locale_nl-aw.js on lines 2..143
src/ngLocale/angular-locale_nl-be.js on lines 2..143
src/ngLocale/angular-locale_nl-bq.js on lines 2..143
src/ngLocale/angular-locale_nl-cw.js on lines 2..143
src/ngLocale/angular-locale_nl-nl.js on lines 2..143
src/ngLocale/angular-locale_nl-sr.js on lines 2..143
src/ngLocale/angular-locale_nl-sx.js on lines 2..143
src/ngLocale/angular-locale_nl.js on lines 2..143
src/ngLocale/angular-locale_nmg-cm.js on lines 2..143
src/ngLocale/angular-locale_nmg.js on lines 2..143
src/ngLocale/angular-locale_nn-no.js on lines 2..143
src/ngLocale/angular-locale_nn.js on lines 2..143
src/ngLocale/angular-locale_nnh-cm.js on lines 2..143
src/ngLocale/angular-locale_nnh.js on lines 2..143
src/ngLocale/angular-locale_nus-ss.js on lines 2..143
src/ngLocale/angular-locale_nus.js on lines 2..143
src/ngLocale/angular-locale_nyn-ug.js on lines 2..143
src/ngLocale/angular-locale_nyn.js on lines 2..143
src/ngLocale/angular-locale_om-et.js on lines 2..143
src/ngLocale/angular-locale_om-ke.js on lines 2..143
src/ngLocale/angular-locale_om.js on lines 2..143
src/ngLocale/angular-locale_os-ge.js on lines 2..143
src/ngLocale/angular-locale_os-ru.js on lines 2..143
src/ngLocale/angular-locale_os.js on lines 2..143
src/ngLocale/angular-locale_prg-001.js on lines 2..143
src/ngLocale/angular-locale_prg.js on lines 2..143
src/ngLocale/angular-locale_ps-af.js on lines 2..143
src/ngLocale/angular-locale_ps.js on lines 2..143
src/ngLocale/angular-locale_qu-bo.js on lines 2..143
src/ngLocale/angular-locale_qu-ec.js on lines 2..143
src/ngLocale/angular-locale_qu-pe.js on lines 2..143
src/ngLocale/angular-locale_qu.js on lines 2..143
src/ngLocale/angular-locale_rm-ch.js on lines 2..143
src/ngLocale/angular-locale_rm.js on lines 2..143
src/ngLocale/angular-locale_rn-bi.js on lines 2..143
src/ngLocale/angular-locale_rn.js on lines 2..143
src/ngLocale/angular-locale_rof-tz.js on lines 2..143
src/ngLocale/angular-locale_rof.js on lines 2..143
src/ngLocale/angular-locale_rw-rw.js on lines 2..143
src/ngLocale/angular-locale_rw.js on lines 2..143
src/ngLocale/angular-locale_rwk-tz.js on lines 2..143
src/ngLocale/angular-locale_rwk.js on lines 2..143
src/ngLocale/angular-locale_sah-ru.js on lines 2..143
src/ngLocale/angular-locale_sah.js on lines 2..143
src/ngLocale/angular-locale_saq-ke.js on lines 2..143
src/ngLocale/angular-locale_saq.js on lines 2..143
src/ngLocale/angular-locale_sbp-tz.js on lines 2..143
src/ngLocale/angular-locale_sbp.js on lines 2..143
src/ngLocale/angular-locale_se-fi.js on lines 2..143
src/ngLocale/angular-locale_se-no.js on lines 2..143
src/ngLocale/angular-locale_se-se.js on lines 2..143
src/ngLocale/angular-locale_se.js on lines 2..143
src/ngLocale/angular-locale_seh-mz.js on lines 2..143
src/ngLocale/angular-locale_seh.js on lines 2..143
src/ngLocale/angular-locale_ses-ml.js on lines 2..143
src/ngLocale/angular-locale_ses.js on lines 2..143
src/ngLocale/angular-locale_sg-cf.js on lines 2..143
src/ngLocale/angular-locale_sg.js on lines 2..143
src/ngLocale/angular-locale_shi-latn-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-latn.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng-ma.js on lines 2..143
src/ngLocale/angular-locale_shi-tfng.js on lines 2..143
src/ngLocale/angular-locale_shi.js on lines 2..143
src/ngLocale/angular-locale_smn-fi.js on lines 2..143
src/ngLocale/angular-locale_smn.js on lines 2..143
src/ngLocale/angular-locale_sn-zw.js on lines 2..143
src/ngLocale/angular-locale_sn.js on lines 2..143
src/ngLocale/angular-locale_so-dj.js on lines 2..143
src/ngLocale/angular-locale_so-et.js on lines 2..143
src/ngLocale/angular-locale_so-ke.js on lines 2..143
src/ngLocale/angular-locale_so-so.js on lines 2..143
src/ngLocale/angular-locale_so.js on lines 2..143
src/ngLocale/angular-locale_sv-ax.js on lines 2..143
src/ngLocale/angular-locale_sv-fi.js on lines 2..143
src/ngLocale/angular-locale_sv-se.js on lines 2..143
src/ngLocale/angular-locale_sv.js on lines 2..143
src/ngLocale/angular-locale_sw-cd.js on lines 2..143
src/ngLocale/angular-locale_sw-ke.js on lines 2..143
src/ngLocale/angular-locale_sw-tz.js on lines 2..143
src/ngLocale/angular-locale_sw-ug.js on lines 2..143
src/ngLocale/angular-locale_sw.js on lines 2..143
src/ngLocale/angular-locale_teo-ke.js on lines 2..143
src/ngLocale/angular-locale_teo-ug.js on lines 2..143
src/ngLocale/angular-locale_teo.js on lines 2..143
src/ngLocale/angular-locale_ti-er.js on lines 2..143
src/ngLocale/angular-locale_ti-et.js on lines 2..143
src/ngLocale/angular-locale_ti.js on lines 2..143
src/ngLocale/angular-locale_tk-tm.js on lines 2..143
src/ngLocale/angular-locale_tk.js on lines 2..143
src/ngLocale/angular-locale_to-to.js on lines 2..143
src/ngLocale/angular-locale_to.js on lines 2..143
src/ngLocale/angular-locale_twq-ne.js on lines 2..143
src/ngLocale/angular-locale_twq.js on lines 2..143
src/ngLocale/angular-locale_tzm-ma.js on lines 2..143
src/ngLocale/angular-locale_tzm.js on lines 2..143
src/ngLocale/angular-locale_ug-cn.js on lines 2..143
src/ngLocale/angular-locale_ug.js on lines 2..143
src/ngLocale/angular-locale_ur-in.js on lines 2..143
src/ngLocale/angular-locale_ur-pk.js on lines 2..143
src/ngLocale/angular-locale_ur.js on lines 2..143
src/ngLocale/angular-locale_vai-latn-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-latn.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii-lr.js on lines 2..143
src/ngLocale/angular-locale_vai-vaii.js on lines 2..143
src/ngLocale/angular-locale_vai.js on lines 2..143
src/ngLocale/angular-locale_vo-001.js on lines 2..143
src/ngLocale/angular-locale_vo.js on lines 2..143
src/ngLocale/angular-locale_vun-tz.js on lines 2..143
src/ngLocale/angular-locale_vun.js on lines 2..143
src/ngLocale/angular-locale_wae-ch.js on lines 2..143
src/ngLocale/angular-locale_wae.js on lines 2..143
src/ngLocale/angular-locale_xog-ug.js on lines 2..143
src/ngLocale/angular-locale_xog.js on lines 2..143
src/ngLocale/angular-locale_yav-cm.js on lines 2..143
src/ngLocale/angular-locale_yav.js on lines 2..143
src/ngLocale/angular-locale_yi-001.js on lines 2..143
src/ngLocale/angular-locale_yi.js on lines 2..143
src/ngLocale/angular-locale_yo-bj.js on lines 2..143
src/ngLocale/angular-locale_yo-ng.js on lines 2..143
src/ngLocale/angular-locale_yo.js on lines 2..143
src/ngLocale/angular-locale_yue-hk.js on lines 2..143
src/ngLocale/angular-locale_yue.js on lines 2..143
src/ngLocale/angular-locale_zgh-ma.js on lines 2..143
src/ngLocale/angular-locale_zgh.js on lines 2..143

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 599.

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