nemesiscodex/openfonacide

View on GitHub

Showing 970 of 970 total issues

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

    verbose: function() {
      if(settings.verbose && settings.debug) {
        if(settings.performance) {
          module.performance.log(arguments);
        }
Severity: Major
Found in static/components/site.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/form.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/shape.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/checkbox.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/api.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/sticky.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/tab.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/rating.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/dimmer.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/video.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/accordion.js and 20 other locations - About 4 hrs to fix
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/sidebar.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/visibility.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/popup.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/nag.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/transition.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/dropdown.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/state.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/modal.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/search.js on lines 719..729
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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

        verbose: function() {
          if(settings.verbose && settings.debug) {
            if(settings.performance) {
              module.performance.log(arguments);
            }
Severity: Major
Found in static/components/search.js and 20 other locations - About 4 hrs to fix
static/components/accordion.js on lines 390..400
static/components/api.js on lines 638..648
static/components/checkbox.js on lines 329..339
static/components/dimmer.js on lines 452..462
static/components/dropdown.js on lines 1540..1550
static/components/form.js on lines 743..753
static/components/modal.js on lines 661..671
static/components/nag.js on lines 278..288
static/components/popup.js on lines 945..955
static/components/progress.js on lines 566..576
static/components/rating.js on lines 253..263
static/components/shape.js on lines 635..645
static/components/sidebar.js on lines 855..865
static/components/site.js on lines 288..298
static/components/state.js on lines 440..450
static/components/sticky.js on lines 627..637
static/components/tab.js on lines 594..604
static/components/transition.js on lines 823..833
static/components/video.js on lines 318..328
static/components/visibility.js on lines 878..888

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

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