mohayonao/SCScript

View on GitHub
src/sc/classlib/Collections/SequenceableCollection.js

Summary

Maintainability
F
2 wks
Test Coverage

File SequenceableCollection.js has 1572 lines of code (exceeds 250 allowed). Consider refactoring.
Open

SCScript.install(function(sc) {
  "use strict";

  require("./Collection");

Severity: Major
Found in src/sc/classlib/Collections/SequenceableCollection.js - About 4 days to fix

    Avoid too many return statements within this function.
    Open

            return _performBinaryOpOnSeqColl$adverb$f(
              this, $aSelector, $theOperand
            );
    Severity: Major
    Found in src/sc/classlib/Collections/SequenceableCollection.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return _performBinaryOpOnSeqColl$adverb$s(
                this, $aSelector, $theOperand
              );
      Severity: Major
      Found in src/sc/classlib/Collections/SequenceableCollection.js - About 30 mins to fix

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

            function _performBinaryOpOnSeqColl$adverb$nil($this, $aSelector, $theOperand) {
              var $size, $newList, $i;
              var size, i;
        
              $size = $this.size().max($theOperand.size());
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 2 other locations - About 6 hrs to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1640..1654
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1656..1670

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

        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

            function _performBinaryOpOnSeqColl$adverb$f($this, $aSelector, $theOperand) {
              var $size, $newList, $i;
              var size, i;
        
              $size = $this.size().max($theOperand.size());
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 2 other locations - About 6 hrs to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1566..1582
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1640..1654

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

        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

            function _performBinaryOpOnSeqColl$adverb$s($this, $aSelector, $theOperand) {
              var $size, $newList, $i;
              var size, i;
        
              $size = $this.size().min($theOperand.size());
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 2 other locations - About 6 hrs to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1566..1582
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1656..1670

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

        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

            builder.addClassMethod("rand", {
              args: "size; minVal=0.0; maxVal=1.0"
            }, function($size, $minVal, $maxVal) {
              var $obj, i, imax;
        
        
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 3 hrs to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 83..94

        Duplicated Code

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

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

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

        Tuning

        This issue has a mass of 110.

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

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

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

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

        Refactorings

        Further Reading

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

            builder.addClassMethod("exprand", {
              args: "size; minVal=0.0; maxVal=1.0"
            }, function($size, $minVal, $maxVal) {
              var $obj, i, imax;
        
        
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 3 hrs to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 70..81

        Duplicated Code

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

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

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

        Tuning

        This issue has a mass of 110.

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

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

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

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

        Refactorings

        Further Reading

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

            builder.addMethod("remove", {
              args: "item"
            }, function($item) {
              var $index;
        
        
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 455..466

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

        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

            builder.addMethod("take", {
              args: "item"
            }, function($item) {
              var $index;
        
        
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 431..442

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

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

            builder.addMethod("degreeToKey", {
              args: "scale; stepsPerOctave=12"
            }, function($scale, $stepsPerOctave) {
              return this.collect($.Func(function($scaleDegree) {
                return $scaleDegree.degreeToKey($scale, $stepsPerOctave);
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 3 other locations - About 1 hr to fix
        src/sc/classlib/Collections/Collection.js on lines 481..487
        src/sc/classlib/Collections/Collection.js on lines 489..495
        src/sc/classlib/Collections/SequenceableCollection.js on lines 971..977

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

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

            builder.addMethod("keyToDegree", {
              args: "scale; stepsPerOctave=12"
            }, function($scale, $stepsPerOctave) {
              return this.collect($.Func(function($val) {
                return $val.keyToDegree($scale, $stepsPerOctave);
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 3 other locations - About 1 hr to fix
        src/sc/classlib/Collections/Collection.js on lines 481..487
        src/sc/classlib/Collections/Collection.js on lines 489..495
        src/sc/classlib/Collections/SequenceableCollection.js on lines 963..969

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

        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

              this.do($.Function(function(_) {
                return [ function($elem, $i) {
                  if ($item === $elem) {
                    $ret = $i;
                    _.break();
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/Dictionary.js on lines 645..653

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

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

            builder.addMethod("clip", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("clip") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("lincurve", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lincurve") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("explin", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("explin") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("exprange", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("exprange") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("blend", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("blend") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("bilin", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("bilin") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("varlag", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("varlag") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("slew", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("slew") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("linlin", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("linlin") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("biexp", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("biexp") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("curvelin", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("curvelin") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("bipolar", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("bipolar") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("lagud", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lagud") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("checkBadValues", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("checkBadValues") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871

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

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

            builder.addMethod("lag3", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lag3") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("lag2", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lag2") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("unipolar", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("unipolar") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("fold", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("fold") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("moddif", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("moddif") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("range", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("range") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("lag", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lag") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("lag2ud", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lag2ud") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("linexp", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("linexp") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("lag3ud", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("lag3ud") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("wrap", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("wrap") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("expexp", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("expexp") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1801..1805
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

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

            builder.addMethod("curverange", function() {
              return this.multiChannelPerform.apply(
                this, [ $.Symbol("curverange") ].concat(_.toArray(arguments))
              );
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 26 other locations - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1717..1721
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1723..1727
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1729..1733
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1735..1739
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1741..1745
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1747..1751
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1753..1757
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1759..1763
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1765..1769
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1771..1775
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1777..1781
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1783..1787
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1789..1793
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1795..1799
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1807..1811
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1813..1817
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1819..1823
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1825..1829
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1831..1835
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1837..1841
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1843..1847
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1849..1853
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1855..1859
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1861..1865
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1867..1871
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1873..1877

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

        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

            builder.addMethod("performBinaryOpOnComplex", function($aSelector, $aComplex, $adverb) {
              return this.collect($.Func(function($item) {
                return $aComplex.perform($aSelector, $item, $adverb);
              }));
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1672..1676

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

        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

            builder.addMethod("performBinaryOpOnSimpleNumber", function($aSelector, $aNumber, $adverb) {
              return this.collect($.Func(function($item) {
                return $aNumber.perform($aSelector, $item, $adverb);
              }));
            });
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1678..1682

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

        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

              } else if (adverb > 0) {
                $newList = $theOperand.collect($.Func(function($item) {
                  return $item.perform($aSelector, $this, $.Integer(adverb - 1));
                }));
              } else {
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1601..1605

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

        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

              } else {
                $newList = $this.collect($.Func(function($item) {
                  return $theOperand.perform($aSelector, $item, $.Integer(adverb + 1));
                }));
              }
        Severity: Major
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 1 hr to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 1597..1601

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

        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

              $list = this.species().fill($numlists, $.Func(function() {
                return $this.species().new($size);
              }));
        Severity: Minor
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 55 mins to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 777..779

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

        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

              $list = this.species().fill($maxsize, $.Func(function() {
                return $this.species().new($size);
              }));
        Severity: Minor
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 55 mins to fix
        src/sc/classlib/Collections/SequenceableCollection.js on lines 889..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 54.

        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

            builder.addMethod("performUnaryOp", function($aSelector) {
              return this.collect($.Func(function($item) {
                return $item.perform($aSelector);
              }));
            });
        Severity: Minor
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 55 mins to fix
        src/sc/classlib/Collections/Array.js on lines 682..686

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

        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

            builder.addMethod("ascii", function() {
              return this.collect($.Func(function($item) {
                return $item.$("ascii");
              }));
            });
        Severity: Minor
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 50 mins to fix
        src/sc/classlib/Collections/Collection.js on lines 189..193

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

        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

            builder.addMethod("containsSeqColl", function() {
              return this.any($.Func(function($_) {
                return $_.isSequenceableCollection();
              }));
            });
        Severity: Minor
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 50 mins to fix
        src/sc/classlib/Collections/Array.js on lines 688..692

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

        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

              this.do($.Func(function($item) {
                items.push($item.__str__());
                return $nil;
              }));
        Severity: Minor
        Found in src/sc/classlib/Collections/SequenceableCollection.js and 1 other location - About 35 mins to fix
        src/sc/classlib/Collections/Collection.js on lines 1061..1064

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

        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

        There are no issues that match your filters.

        Category
        Status