kuasha/cosmos

View on GitHub

Showing 2,966 of 7,770 total issues

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

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

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src/mode-twig.js on lines 2310..2440

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

define("ace/mode/twig_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/html_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";

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

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

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/mushcode",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/mushcode_highlight_rules","ace/mode/folding/pythonic","ace/range"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-python.js on lines 186..264

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

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/python",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/python_highlight_rules","ace/mode/folding/pythonic","ace/range"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-mushcode.js on lines 596..674

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

define("ace/mode/ruby",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ruby_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/folding/coffee"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 2677..2744
samples/adminpanel/app/bower_components/ace-builds/src/mode-ruby.js on lines 353..420

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

define("ace/mode/ruby",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ruby_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/folding/coffee"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 2622..2689
samples/adminpanel/app/bower_components/ace-builds/src/mode-html_ruby.js on lines 2677..2744

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

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

define("ace/mode/ruby",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ruby_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/folding/coffee"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src/mode-ejs.js on lines 2622..2689
samples/adminpanel/app/bower_components/ace-builds/src/mode-ruby.js on lines 353..420

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

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/mushcode",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/mushcode_highlight_rules","ace/mode/folding/pythonic","ace/range"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src/mode-python.js on lines 186..264

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

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/python",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/python_highlight_rules","ace/mode/folding/pythonic","ace/range"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextMode = require("./text").Mode;
samples/adminpanel/app/bower_components/ace-builds/src/mode-mushcode.js on lines 596..674

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

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({
    offset: function( options ) {
        if ( arguments.length ) {
            return options === undefined ?
                this :
Severity: Major
Found in samples/adminpanel/app/bower_components/jquery/src/offset.js and 1 other location - About 3 days to fix
samples/adminpanel/app/bower_components/jquery/dist/jquery.js on lines 8953..9038

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

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({
    offset: function( options ) {
        if ( arguments.length ) {
            return options === undefined ?
                this :
Severity: Major
Found in samples/adminpanel/app/bower_components/jquery/dist/jquery.js and 1 other location - About 3 days to fix
samples/adminpanel/app/bower_components/jquery/src/offset.js on lines 73..158

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-django.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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

ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"], function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var lang = require("../lib/lang");
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-coldfusion.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-curly.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-ejs.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-handlebars.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-html_ruby.js on lines 2515..2588
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-luapage.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-markdown.js on lines 2265..2338
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-rhtml.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-smarty.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-soy_template.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-twig.js on lines 2235..2308
samples/adminpanel/app/bower_components/ace-builds/src-noconflict/mode-velocity.js on lines 2235..2308

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

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