krafthaus/bauhaus

View on GitHub

Showing 573 of 1,049 total issues

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

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

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 120.

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

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

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

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

Refactorings

Further Reading

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

;(function($){
    $.fn.datetimepicker.dates['fi'] = {
        days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"],
        daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"],
        daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 120.

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

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

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

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

Refactorings

Further Reading

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

;(function($){
    $.fn.datetimepicker.dates['tr'] = {
        days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
        daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
        daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fo.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js on lines 4..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs-latin.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.rs.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js on lines 5..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js on lines 5..14

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 120.

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

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

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

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

Refactorings

Further Reading

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

jQuery.each({
    slideDown: genFx("show"),
    slideUp: genFx("hide"),
    slideToggle: genFx("toggle"),
    fadeIn: { opacity: "show" },
Severity: Major
Found in bower_components/jquery/dist/jquery.js and 1 other location - About 4 hrs to fix
bower_components/jquery/src/effects.js on lines 591..602

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

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

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

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

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

Refactorings

Further Reading

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

jQuery.each({
    slideDown: genFx("show"),
    slideUp: genFx("hide"),
    slideToggle: genFx("toggle"),
    fadeIn: { opacity: "show" },
Severity: Major
Found in bower_components/jquery/src/effects.js and 1 other location - About 4 hrs to fix
bower_components/jquery/dist/jquery.js on lines 7577..7588

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

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

    function require(ids, callback) {
        var module, defs = [];

        for (var i = 0; i < ids.length; ++i) {
            module = modules[ids[i]] || resolve(ids[i]);
Severity: Major
Found in bower_components/tinymce/plugins/table/plugin.js and 2 other locations - About 4 hrs to fix
bower_components/tinymce/plugins/paste/plugin.js on lines 13..26
bower_components/tinymce/plugins/spellchecker/plugin.js on lines 13..26

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

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

    function require(ids, callback) {
        var module, defs = [];

        for (var i = 0; i < ids.length; ++i) {
            module = modules[ids[i]] || resolve(ids[i]);
Severity: Major
Found in bower_components/tinymce/plugins/paste/plugin.js and 2 other locations - About 4 hrs to fix
bower_components/tinymce/plugins/spellchecker/plugin.js on lines 13..26
bower_components/tinymce/plugins/table/plugin.js on lines 13..26

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

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

    function require(ids, callback) {
        var module, defs = [];

        for (var i = 0; i < ids.length; ++i) {
            module = modules[ids[i]] || resolve(ids[i]);
Severity: Major
Found in bower_components/tinymce/plugins/spellchecker/plugin.js and 2 other locations - About 4 hrs to fix
bower_components/tinymce/plugins/paste/plugin.js on lines 13..26
bower_components/tinymce/plugins/table/plugin.js on lines 13..26

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

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.acceptData = function( elem ) {
    var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ],
        nodeType = +elem.nodeType || 1;

    // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
Severity: Major
Found in bower_components/jquery/src/data/accepts.js and 1 other location - About 4 hrs to fix
bower_components/jquery/dist/jquery.js on lines 3617..3627

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

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.acceptData = function( elem ) {
    var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ],
        nodeType = +elem.nodeType || 1;

    // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
Severity: Major
Found in bower_components/jquery/dist/jquery.js and 1 other location - About 4 hrs to fix
bower_components/jquery/src/data/accepts.js on lines 8..18

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

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

;(function($){
    $.fn.datetimepicker.dates['pt'] = {
        days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
        daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
        daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.id.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.kr.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-TW.js on lines 5..13

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

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

;(function($){
    $.fn.datetimepicker.dates['ja'] = {
        days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"],
        daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"],
        daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.id.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.kr.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt.js on lines 6..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-TW.js on lines 5..13

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

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

;(function($){
    $.fn.datetimepicker.dates['zh-TW'] = {
                days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
            daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
            daysMin:  ["日", "一", "二", "三", "四", "五", "六", "日"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.id.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.kr.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt.js on lines 6..14

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 115.

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

;(function($){
    $.fn.datetimepicker.dates['id'] = {
        days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"],
        daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"],
        daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.kr.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt.js on lines 6..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-TW.js on lines 5..13

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

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

;(function($){
    $.fn.datetimepicker.dates['kr'] = {
        days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"],
        daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"],
        daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"],
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.id.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js on lines 5..13
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt.js on lines 6..14
bower_components/bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-TW.js on lines 5..13

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

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

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

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

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

Refactorings

Further Reading

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

jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
    var cssFn = jQuery.fn[ name ];
    jQuery.fn[ name ] = function( speed, easing, callback ) {
        return speed == null || typeof speed === "boolean" ?
            cssFn.apply( this, arguments ) :
Severity: Major
Found in bower_components/jquery/src/effects.js and 1 other location - About 3 hrs to fix
bower_components/jquery/dist/jquery.js on lines 7567..7574

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

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

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

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

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

Refactorings

Further Reading

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

jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
    var cssFn = jQuery.fn[ name ];
    jQuery.fn[ name ] = function( speed, easing, callback ) {
        return speed == null || typeof speed === "boolean" ?
            cssFn.apply( this, arguments ) :
Severity: Major
Found in bower_components/jquery/dist/jquery.js and 1 other location - About 3 hrs to fix
bower_components/jquery/src/effects.js on lines 581..588

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

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

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

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

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

Refactorings

Further Reading

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

jQuery.each( [ "top", "left" ], function( i, prop ) {
    jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
        function( elem, computed ) {
            if ( computed ) {
                computed = curCSS( elem, prop );
Severity: Major
Found in bower_components/jquery/src/offset.js and 1 other location - About 3 hrs to fix
bower_components/jquery/dist/jquery.js on lines 10187..10199

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

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

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

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

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

Refactorings

Further Reading

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

jQuery.each( [ "top", "left" ], function( i, prop ) {
    jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
        function( elem, computed ) {
            if ( computed ) {
                computed = curCSS( elem, prop );
Severity: Major
Found in bower_components/jquery/dist/jquery.js and 1 other location - About 3 hrs to fix
bower_components/jquery/src/offset.js on lines 196..208

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

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

if ( !assert(function( div ) {
    div.innerHTML = "<a href='#'></a>";
    return div.firstChild.getAttribute("href") === "#" ;
}) ) {
    addHandle( "type|href|height|width", function( elem, name, isXML ) {
Severity: Major
Found in bower_components/jquery/src/sizzle/dist/sizzle.js and 1 other location - About 3 hrs to fix
bower_components/jquery/dist/jquery.js on lines 2577..2586

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

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