krafthaus/bauhaus

View on GitHub

Showing 1,049 of 1,049 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Open

jQuery.fn.delay = function( time, type ) {
    time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
    type = type || "fx";

    return this.queue( type, function( next, hooks ) {
Severity: Major
Found in bower_components/jquery/dist/jquery.js and 1 other location - About 4 hrs to fix
bower_components/jquery/src/queue/delay.js on lines 9..19

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

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

Identical blocks of code found in 2 locations. Consider refactoring.
Open

jQuery.each( [ "get", "post" ], function( i, method ) {
    jQuery[ method ] = function( url, data, callback, type ) {
        // shift arguments if data argument was omitted
        if ( jQuery.isFunction( data ) ) {
            type = type || callback;
Severity: Major
Found in bower_components/jquery/dist/jquery.js and 1 other location - About 4 hrs to fix
bower_components/jquery/src/ajax.js on lines 780..797

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

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

File core.js has 348 lines of code (exceeds 250 allowed). Consider refactoring.
Open

define([
    "./var/deletedIds",
    "./var/slice",
    "./var/concat",
    "./var/push",
Severity: Minor
Found in bower_components/jquery/src/core.js - About 4 hrs to fix

    File plugin.js has 347 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
     * plugin.js
     *
     * Copyright, Moxiecode Systems AB
     * Released under LGPL License.
    Severity: Minor
    Found in bower_components/tinymce/plugins/image/plugin.js - About 4 hrs to fix

      File css.js has 347 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      define([
          "./core",
          "./var/pnum",
          "./core/access",
          "./css/var/rmargin",
      Severity: Minor
      Found in bower_components/jquery/src/css.js - About 4 hrs to fix

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

        function vendorPropName( style, name ) {
        
            // shortcut for names that are not vendor prefixed
            if ( name in style ) {
                return name;
        Severity: Major
        Found in bower_components/jquery/src/css.js and 1 other location - About 4 hrs to fix
        bower_components/jquery/dist/jquery.js on lines 6433..6453

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

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

                    if (editor.settings.table_row_class_list) {
                        classListCtrl = {
                            name: 'class',
                            type: 'listbox',
                            label: 'Class',
        Severity: Major
        Found in bower_components/tinymce/plugins/table/plugin.js and 2 other locations - About 4 hrs to fix
        bower_components/tinymce/plugins/link/plugin.js on lines 229..245
        bower_components/tinymce/plugins/table/plugin.js on lines 1947..1963

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

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

                if (editor.settings.link_class_list) {
                    classListCtrl = {
                        name: 'class',
                        type: 'listbox',
                        label: 'Class',
        Severity: Major
        Found in bower_components/tinymce/plugins/link/plugin.js and 2 other locations - About 4 hrs to fix
        bower_components/tinymce/plugins/table/plugin.js on lines 1947..1963
        bower_components/tinymce/plugins/table/plugin.js on lines 2163..2179

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

        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

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

        function vendorPropName( style, name ) {
        
            // shortcut for names that are not vendor prefixed
            if ( name in style ) {
                return name;
        Severity: Major
        Found in bower_components/jquery/dist/jquery.js and 1 other location - About 4 hrs to fix
        bower_components/jquery/src/css.js on lines 45..65

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

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

                    if (editor.settings.table_cell_class_list) {
                        classListCtrl = {
                            name: 'class',
                            type: 'listbox',
                            label: 'Class',
        Severity: Major
        Found in bower_components/tinymce/plugins/table/plugin.js and 2 other locations - About 4 hrs to fix
        bower_components/tinymce/plugins/link/plugin.js on lines 229..245
        bower_components/tinymce/plugins/table/plugin.js on lines 2163..2179

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

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

        ;(function($){
            $.fn.datetimepicker.dates['zh-CN'] = {
                        days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
                    daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
                    daysMin:  ["日", "一", "二", "三", "四", "五", "六", "日"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['nb'] = {
                days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
                daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
                daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['pt-BR'] = {
                days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
                daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
                daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['hu'] = {
                days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"],
                daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"],
                daysMin: ["V", "H", "K", "Sze", "Cs", "P", "Szo", "V"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['is'] = {
                days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
                daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
                daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['sv'] = {
                days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
                daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
                daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['rs-latin'] = {
                days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
                daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
                daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['th'] = {
                days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
                daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
                daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates["sk"] = {
                days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
                daysShort: ["Ne", "Po", "Ut", "St", "Št", "Pi", "So", "Ne"],
                daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pi", "So", "Ne"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

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

        ;(function($){
            $.fn.datetimepicker.dates['sl'] = {
                days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
                daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
                daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
        bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

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

        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