nemesiscodex/openfonacide

View on GitHub

Showing 970 of 970 total issues

File popup.js has 1116 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * # Semantic UI 1.12.3 - Popup
 * http://github.com/semantic-org/semantic-ui/
 *
 *
Severity: Major
Found in static/components/popup.js - About 2 days to fix

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/search.js and 6 other locations - About 2 days to fix
    static/components/dimmer.js on lines 467..520
    static/components/form.js on lines 758..811
    static/components/rating.js on lines 268..321
    static/components/shape.js on lines 650..703
    static/components/transition.js on lines 838..891
    static/components/video.js on lines 333..386

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

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/form.js and 6 other locations - About 2 days to fix
    static/components/dimmer.js on lines 467..520
    static/components/rating.js on lines 268..321
    static/components/search.js on lines 734..787
    static/components/shape.js on lines 650..703
    static/components/transition.js on lines 838..891
    static/components/video.js on lines 333..386

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

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/transition.js and 6 other locations - About 2 days to fix
    static/components/dimmer.js on lines 467..520
    static/components/form.js on lines 758..811
    static/components/rating.js on lines 268..321
    static/components/search.js on lines 734..787
    static/components/shape.js on lines 650..703
    static/components/video.js on lines 333..386

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

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/video.js and 6 other locations - About 2 days to fix
    static/components/dimmer.js on lines 467..520
    static/components/form.js on lines 758..811
    static/components/rating.js on lines 268..321
    static/components/search.js on lines 734..787
    static/components/shape.js on lines 650..703
    static/components/transition.js on lines 838..891

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

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/dimmer.js and 6 other locations - About 2 days to fix
    static/components/form.js on lines 758..811
    static/components/rating.js on lines 268..321
    static/components/search.js on lines 734..787
    static/components/shape.js on lines 650..703
    static/components/transition.js on lines 838..891
    static/components/video.js on lines 333..386

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

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/shape.js and 6 other locations - About 2 days to fix
    static/components/dimmer.js on lines 467..520
    static/components/form.js on lines 758..811
    static/components/rating.js on lines 268..321
    static/components/search.js on lines 734..787
    static/components/transition.js on lines 838..891
    static/components/video.js on lines 333..386

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

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

            performance: {
              log: function(message) {
                var
                  currentTime,
                  executionTime,
    Severity: Major
    Found in static/components/rating.js and 6 other locations - About 2 days to fix
    static/components/dimmer.js on lines 467..520
    static/components/form.js on lines 758..811
    static/components/search.js on lines 734..787
    static/components/shape.js on lines 650..703
    static/components/transition.js on lines 838..891
    static/components/video.js on lines 333..386

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

    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

    Function dimmer has 549 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    $.fn.dimmer = function(parameters) {
      var
        $allModules     = $(this),
    
        time            = new Date().getTime(),
    Severity: Major
    Found in static/components/dimmer.js - About 2 days to fix

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/checkbox.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/dimmer.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/state.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/visibility.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/video.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/nag.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/dropdown.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/accordion.js and 12 other locations - About 2 days to fix
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/api.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

              invoke: function(query, passedArguments, context) {
                var
                  object = instance,
                  maxDepth,
                  found,
      Severity: Major
      Found in static/components/progress.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/sidebar.js on lines 921..974
      static/components/site.js on lines 351..404
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

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

          invoke: function(query, passedArguments, context) {
            var
              object = instance,
              maxDepth,
              found,
      Severity: Major
      Found in static/components/site.js and 12 other locations - About 2 days to fix
      static/components/accordion.js on lines 456..509
      static/components/api.js on lines 704..757
      static/components/checkbox.js on lines 395..448
      static/components/dimmer.js on lines 521..574
      static/components/dropdown.js on lines 1606..1659
      static/components/nag.js on lines 344..397
      static/components/progress.js on lines 632..685
      static/components/sidebar.js on lines 921..974
      static/components/state.js on lines 506..559
      static/components/tab.js on lines 660..713
      static/components/video.js on lines 387..440
      static/components/visibility.js on lines 944..997

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

      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