kuasha/cosmos

View on GitHub

Showing 2,966 of 7,770 total issues

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

(function() {

var classAnimationActions = [ "add", "remove", "toggle" ],
    shorthandStyles = {
        border: 1,
samples/adminpanel/app/bower_components/jquery-ui/jquery-ui.js on lines 14415..14614
samples/adminpanel/app/lib/js/jquery-ui.js on lines 5450..5650

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

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/livescript",["require","exports","module","ace/tokenizer","ace/mode/matching_brace_outdent","ace/range","ace/mode/text"], function(require, exports, module){
  var identifier, LiveScriptMode, keywordend, stringfill;
  identifier = '(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*';
  exports.Mode = LiveScriptMode = (function(superclass){
    var indenter, prototype = extend$((import$(LiveScriptMode, superclass).displayName = 'LiveScriptMode', LiveScriptMode), superclass).prototype, constructor = LiveScriptMode;
samples/adminpanel/app/bower_components/ace-builds/src/mode-livescript.js on lines 41..289

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

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/livescript",["require","exports","module","ace/tokenizer","ace/mode/matching_brace_outdent","ace/range","ace/mode/text"], function(require, exports, module){
  var identifier, LiveScriptMode, keywordend, stringfill;
  identifier = '(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*';
  exports.Mode = LiveScriptMode = (function(superclass){
    var indenter, prototype = extend$((import$(LiveScriptMode, superclass).displayName = 'LiveScriptMode', LiveScriptMode), superclass).prototype, constructor = LiveScriptMode;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-livescript.js on lines 41..289

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

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

$.ui.plugin.add("draggable", "connectToSortable", {
    start: function( event, ui, inst ) {

        var o = inst.options,
            uiSortable = $.extend({}, ui, { item: inst.element });
samples/adminpanel/app/bower_components/jquery-ui/jquery-ui.js on lines 2141..2296

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

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

$.ui.plugin.add("draggable", "connectToSortable", {
    start: function( event, ui, inst ) {

        var o = inst.options,
            uiSortable = $.extend({}, ui, { item: inst.element });
samples/adminpanel/app/bower_components/jquery-ui/ui/draggable.js on lines 636..791

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

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/commands/incremental_search_commands",["require","exports","module","ace/config","ace/lib/oop","ace/keyboard/hash_handler","ace/commands/occur_commands"], function(require, exports, module) {

var config = require("../config");
var oop = require("../lib/oop");
var HashHandler = require("../keyboard/hash_handler").HashHandler;
samples/adminpanel/app/bower_components/ace-builds/src/keybinding-emacs.js on lines 188..363

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

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/commands/incremental_search_commands",["require","exports","module","ace/config","ace/lib/oop","ace/keyboard/hash_handler","ace/commands/occur_commands"], function(require, exports, module) {

var config = require("../config");
var oop = require("../lib/oop");
var HashHandler = require("../keyboard/hash_handler").HashHandler;
samples/adminpanel/app/bower_components/ace-builds/demo/kitchen-sink/demo.js on lines 1819..1994

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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

;(function(window) {
if (typeof window.window != "undefined" && window.document) {
    return;
}

samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/worker-php.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-coffee.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-css.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-html.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-javascript.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-json.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-lua.js on lines 2..182
samples/adminpanel/app/bower_components/ace-builds/src/worker-php.js on lines 2..182

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

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