kuasha/cosmos

View on GitHub

Showing 2,966 of 7,770 total issues

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"], function(require, exports, module) {
"use strict";

var oop = require("../../lib/oop");
var Behaviour = require("../behaviour").Behaviour;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coldfusion.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-css.js on lines 543..620
samples/adminpanel/app/bower_components/ace-builds/src/mode-curly.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-django.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 1373..1450
samples/adminpanel/app/bower_components/ace-builds/src/mode-handlebars.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 1653..1730
samples/adminpanel/app/bower_components/ace-builds/src/mode-less.js on lines 628..705
samples/adminpanel/app/bower_components/ace-builds/src/mode-luapage.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-markdown.js on lines 1690..1767
samples/adminpanel/app/bower_components/ace-builds/src/mode-rhtml.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-scss.js on lines 653..730
samples/adminpanel/app/bower_components/ace-builds/src/mode-smarty.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-soy_template.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 1081..1158
samples/adminpanel/app/bower_components/ace-builds/src/mode-velocity.js on lines 1081..1158

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

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

jQuery.fn.extend({

    on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
        var origFn, type;

Severity: Major
Found in samples/adminpanel/app/bower_components/jquery/src/event.js and 1 other location - About 4 days to fix
samples/adminpanel/app/bower_components/jquery/dist/jquery.js on lines 4783..4884

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

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

jQuery.fn.extend({

    on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
        var origFn, type;

Severity: Major
Found in samples/adminpanel/app/bower_components/jquery/dist/jquery.js and 1 other location - About 4 days to fix
samples/adminpanel/app/bower_components/jquery/src/event.js on lines 764..865

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

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/coffee",["require","exports","module","ace/mode/coffee_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/coffee","ace/range","ace/mode/text","ace/worker/worker_client","ace/lib/oop"], function(require, exports, module) {
"use strict";

var Rules = require("./coffee_highlight_rules").CoffeeHighlightRules;
var Outdent = require("./matching_brace_outdent").MatchingBraceOutdent;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coffee.js on lines 330..412

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

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/coffee",["require","exports","module","ace/mode/coffee_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/coffee","ace/range","ace/mode/text","ace/worker/worker_client","ace/lib/oop"], function(require, exports, module) {
"use strict";

var Rules = require("./coffee_highlight_rules").CoffeeHighlightRules;
var Outdent = require("./matching_brace_outdent").MatchingBraceOutdent;
samples/adminpanel/app/bower_components/ace-builds/src/mode-coffee.js on lines 330..412

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

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/r_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules","ace/mode/tex_highlight_rules"], function(require, exports, module)
{

   var oop = require("../lib/oop");
   var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-r.js on lines 80..236

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

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/r_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules","ace/mode/tex_highlight_rules"], function(require, exports, module)
{

   var oop = require("../lib/oop");
   var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2389..2545

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

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

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

var oop = require("../lib/oop");
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-c_cpp.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-glsl.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-nix.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-objectivec.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-protobuf.js on lines 45..221

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

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

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

var oop = require("../lib/oop");
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-c_cpp.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-dart.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-glsl.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-nix.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-objectivec.js on lines 45..221

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

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

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

var oop = require("../lib/oop");
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-c_cpp.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-dart.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-glsl.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-nix.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-protobuf.js on lines 45..221

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

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

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

var oop = require("../lib/oop");
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-c_cpp.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-dart.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-glsl.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-objectivec.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-protobuf.js on lines 45..221

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

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

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

var oop = require("../lib/oop");
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-c_cpp.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-dart.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-nix.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-objectivec.js on lines 45..221
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-protobuf.js on lines 45..221

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

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