nemesiscodex/openfonacide

View on GitHub

Showing 970 of 970 total issues

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/video.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/rating.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/search.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/state.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        setting: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, settings, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/visibility.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/sidebar.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

    setting: function(name, value) {
      if( $.isPlainObject(name) ) {
        $.extend(true, settings, name);
      }
      else if(value !== undefined) {
Severity: Major
Found in static/components/site.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/dropdown.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/sticky.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/form.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/modal.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/dimmer.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/api.js and 25 other locations - About 1 hr to fix
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/nag.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

        internal: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, module, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/visibility.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 686..696
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855

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

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

        setting: function(name, value) {
          if( $.isPlainObject(name) ) {
            $.extend(true, settings, name);
          }
          else if(value !== undefined) {
Severity: Major
Found in static/components/search.js and 25 other locations - About 1 hr to fix
static/components/api.js on lines 616..626
static/components/checkbox.js on lines 307..317
static/components/dimmer.js on lines 430..440
static/components/dropdown.js on lines 1518..1528
static/components/form.js on lines 710..720
static/components/form.js on lines 721..731
static/components/modal.js on lines 639..649
static/components/nag.js on lines 256..266
static/components/popup.js on lines 912..922
static/components/popup.js on lines 923..933
static/components/progress.js on lines 544..554
static/components/rating.js on lines 231..241
static/components/search.js on lines 697..707
static/components/shape.js on lines 613..623
static/components/sidebar.js on lines 833..843
static/components/site.js on lines 255..265
static/components/site.js on lines 266..276
static/components/state.js on lines 418..428
static/components/sticky.js on lines 594..604
static/components/sticky.js on lines 605..615
static/components/tab.js on lines 572..582
static/components/transition.js on lines 801..811
static/components/video.js on lines 296..306
static/components/visibility.js on lines 845..855
static/components/visibility.js on lines 856..866

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

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

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

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

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

Refactorings

Further Reading

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

          activate: function(text, value) {
            value = (value !== undefined)
              ? value
              : text
            ;
Severity: Major
Found in static/components/dropdown.js and 2 other locations - About 1 hr to fix
static/components/dropdown.js on lines 817..826
static/components/dropdown.js on lines 828..837

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

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

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

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

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

Refactorings

Further Reading

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

          combo: function(text, value) {
            value = (value !== undefined)
              ? value
              : text
            ;
Severity: Major
Found in static/components/dropdown.js and 2 other locations - About 1 hr to fix
static/components/dropdown.js on lines 806..815
static/components/dropdown.js on lines 817..826

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

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

        create: {
          id: function() {
            id = (Math.random().toString(16) + '000000000').substr(2,8);
            elementNamespace = '.' + id;
            module.verbose('Creating unique id for element', id);
Severity: Major
Found in static/components/dropdown.js and 1 other location - About 1 hr to fix
static/components/sidebar.js on lines 115..121

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

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

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

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

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

Refactorings

Further Reading

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

          select: function(text, value) {
            value = (value !== undefined)
              ? value
              : text
            ;
Severity: Major
Found in static/components/dropdown.js and 2 other locations - About 1 hr to fix
static/components/dropdown.js on lines 806..815
static/components/dropdown.js on lines 828..837

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

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