kuasha/cosmos

View on GitHub

Showing 2,966 of 7,770 total issues

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

var effectHighlight = $.effects.effect.highlight = function( o, done ) {
    var elem = $( this ),
        props = [ "backgroundImage", "backgroundColor", "opacity" ],
        mode = $.effects.setMode( elem, o.mode || "show" ),
        animation = {
samples/adminpanel/app/bower_components/jquery-ui/ui/effect-highlight.js on lines 26..58
samples/adminpanel/app/lib/js/jquery-ui.js on lines 10878..10910

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

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

define("ace/keyboard/vim/maps/aliases",["require","exports","module"], function(require, exports, module) {
module.exports = {
    "x": {
        operator: {
            ch: "d",
samples/adminpanel/app/bower_components/ace-builds/src/keybinding-vim.js on lines 960..1020

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

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

define("ace/keyboard/vim/maps/aliases",["require","exports","module"], function(require, exports, module) {
module.exports = {
    "x": {
        operator: {
            ch: "d",
samples/adminpanel/app/bower_components/ace-builds/demo/kitchen-sink/demo.js on lines 3384..3444

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

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

define("ace/ext/menu_tools/get_set_functions",["require","exports","module"], function(require, exports, module) {
'use strict';
module.exports.getSetFunctions = function getSetFunctions (editor) {
    var out = [];
    var my = {
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/ext-settings_menu.js on lines 340..380

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

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

ace.define("ace/ext/menu_tools/get_set_functions",["require","exports","module"], function(require, exports, module) {
'use strict';
module.exports.getSetFunctions = function getSetFunctions (editor) {
    var out = [];
    var my = {
samples/adminpanel/app/bower_components/ace-builds/src/ext-settings_menu.js on lines 340..380

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

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

ace.define("ace/mode/glsl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/c_cpp_highlight_rules"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var c_cppHighlightRules = require("./c_cpp_highlight_rules").c_cppHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src/mode-glsl.js on lines 788..836

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

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

  _.debounce = function(func, wait, immediate) {
    var timeout, args, context, timestamp, result;

    var later = function() {
      var last = _.now() - timestamp;
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 1853..1884

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

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

define("ace/mode/glsl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/c_cpp_highlight_rules"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var c_cppHighlightRules = require("./c_cpp_highlight_rules").c_cppHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-glsl.js on lines 788..836

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

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

  _.debounce = function(func, wait, immediate) {
    var timeout, args, context, timestamp, result;

    var later = function() {
      var last = _.now() - timestamp;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 1853..1884

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

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

ace.define("ace/mode/sjs",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/mode/sjs_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var JSMode = require("./javascript").Mode;
var SJSHighlightRules = require("./sjs_highlight_rules").SJSHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-typescript.js on lines 991..1018

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

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

ace.define("ace/mode/typescript",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/mode/typescript_highlight_rules","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/mode/matching_brace_outdent"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var jsMode = require("./javascript").Mode;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-sjs.js on lines 1128..1152

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fa.js on lines 4..73
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-uk.js on lines 4..38

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fa.js on lines 4..73
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sl.js on lines 4..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-uk.js on lines 4..38

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fa.js on lines 4..73
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sl.js on lines 4..38

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sl.js on lines 4..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-uk.js on lines 4..38

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-af.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-az.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-be.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-bs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ca.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-da.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-de.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-el.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-eo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-es.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-et.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr.js on lines 5..39
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-gl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-he.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hy.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-id.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-is.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ja.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ka.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-kk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-km.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ko.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ky.js on lines 3..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lb.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lt.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-mk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ml.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ms.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nb.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nn.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-no.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-rm.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ru.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sq.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ta.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-th.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tj.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-vi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js on lines 3..37

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-af.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-az.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-be.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-bs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ca.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-da.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-de.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-el.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-eo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-es.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-et.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr.js on lines 5..39
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-gl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-he.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hy.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-id.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-is.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ja.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ka.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-kk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-km.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ko.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ky.js on lines 3..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lb.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lt.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-mk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ml.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ms.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nb.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nn.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-no.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-rm.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ru.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sq.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ta.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-th.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tj.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-vi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js on lines 3..37

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-af.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-az.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-be.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-bs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ca.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-da.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-de.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-el.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-eo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-es.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-et.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr.js on lines 5..39
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-gl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-he.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hy.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-id.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-is.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ja.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ka.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-kk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-km.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ko.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ky.js on lines 3..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lb.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lt.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-mk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ml.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ms.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nb.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nn.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-no.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-rm.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ru.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sq.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ta.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-th.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tj.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-vi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js on lines 3..37

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-af.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-az.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-be.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-bs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ca.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-da.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-de.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-el.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-eo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-es.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-et.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr.js on lines 5..39
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-gl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-he.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hy.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-id.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-is.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ja.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ka.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-kk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ko.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ky.js on lines 3..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lb.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lt.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-mk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ml.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ms.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nb.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nn.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-no.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-rm.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ru.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sq.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ta.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-th.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tj.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-vi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js on lines 3..37

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

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

(function( factory ) {
    if ( typeof define === "function" && define.amd ) {

        // AMD. Register as an anonymous module.
        define([ "../datepicker" ], factory );
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-af.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-az.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-be.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-bs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ca.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cs.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-da.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-de.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-el.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-eo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-es.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-et.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fo.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-fr.js on lines 5..39
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-gl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-he.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-hy.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-id.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-is.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-it.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ja.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ka.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-kk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-km.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ko.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ky.js on lines 3..38
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lb.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lt.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-lv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-mk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ml.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ms.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nb.js on lines 3..36
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-no.js on lines 4..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pl.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-rm.js on lines 3..35
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ru.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sk.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sq.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-sv.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-ta.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-th.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tj.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-tr.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-vi.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js on lines 3..37
samples/adminpanel/app/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js on lines 3..37

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

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