siad007/versioncontrol_hg

View on GitHub

Showing 256 of 256 total issues

Function Sizzle has 108 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var Sizzle = function( selector, context, results, seed ) {
    results = results || [];
    context = context || document;

    var origContext = context;
Severity: Major
Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 4 hrs to fix

    Function cookie has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring.
    Open

    jQuery.cookie = function(name, value, options)
    {
      if (typeof value != 'undefined')
      { // name and value given, set cookie
        options = options || {};
    Severity: Minor
    Found in docs/api/phpdoc/js/jquery.cookie.js - About 4 hrs to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function treeview has 102 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            treeview: function(settings) {
                
                settings = $.extend({
                    cookieId: "treeview"
                }, settings);
    Severity: Major
    Found in docs/api/phpdoc/js/jquery.treeview.js - About 4 hrs to fix

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

        , getTitle: function () {
            var title
              , $e = this.$element
              , o = this.options
      
      
      Severity: Major
      Found in docs/api/phpdoc/js/bootstrap.js and 1 other location - About 3 hrs to fix
      docs/api/phpdoc/js/bootstrap.js on lines 1152..1163

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

      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

        , getContent: function () {
            var content
              , $e = this.$element
              , o = this.options
      
      
      Severity: Major
      Found in docs/api/phpdoc/js/bootstrap.js and 1 other location - About 3 hrs to fix
      docs/api/phpdoc/js/bootstrap.js on lines 1032..1043

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

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

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

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

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

      Refactorings

      Further Reading

      Function bind_events has 97 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              $dot.bind_events = function()
              {
                  $dot.bind(
                      'update.dot',
                      function( e, c )
      Severity: Major
      Found in docs/api/phpdoc/js/jquery.dotdotdot-1.5.9.js - About 3 hrs to fix

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

                    } else if (current < target) {
                        new_height = getWidth.apply(this) / target;
                        diff = getHeight.apply(this) - new_height;
                        data.position.y1 = data.position.y1*1 + (diff/2);
                        data.position.y2 = data.position.y2*1 - (diff/2);
        Severity: Major
        Found in docs/api/phpdoc/js/jquery.panzoom.js and 1 other location - About 3 hrs to fix
        docs/api/phpdoc/js/jquery.panzoom.js on lines 351..361

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

        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

                    if (current > target) {
                        new_width = getHeight.apply(this) * target;
                        diff = getWidth.apply(this) - new_width;
                        data.position.x1 = data.position.x1*1 + (diff/2);
                        data.position.x2 = data.position.x2*1 - (diff/2);
        Severity: Major
        Found in docs/api/phpdoc/js/jquery.panzoom.js and 1 other location - About 3 hrs to fix
        docs/api/phpdoc/js/jquery.panzoom.js on lines 356..361

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

        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

          $.fn.dropdown = function ( option ) {
            return this.each(function () {
              var $this = $(this)
                , data = $this.data('dropdown')
              if (!data) $this.data('dropdown', (data = new Dropdown(this)))
        Severity: Major
        Found in docs/api/phpdoc/js/bootstrap.js and 1 other location - About 3 hrs to fix
        docs/api/phpdoc/js/bootstrap.js on lines 123..130

        Duplicated Code

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

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

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

        Tuning

        This issue has a mass of 111.

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

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

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

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

        Refactorings

        Further Reading

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

          $.fn.alert = function ( option ) {
            return this.each(function () {
              var $this = $(this)
                , data = $this.data('alert')
              if (!data) $this.data('alert', (data = new Alert(this)))
        Severity: Major
        Found in docs/api/phpdoc/js/bootstrap.js and 1 other location - About 3 hrs to fix
        docs/api/phpdoc/js/bootstrap.js on lines 602..609

        Duplicated Code

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

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

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

        Tuning

        This issue has a mass of 111.

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

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

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

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

        Refactorings

        Further Reading

        Function trigger has 94 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            trigger: function( event, data, elem, onlyHandlers ) {
                // Don't do events on text and comment nodes
                if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) {
                    return;
                }
        Severity: Major
        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 3 hrs to fix

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

                  if (settings.panDown) {
                      settings.panDown.bind('mousedown.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseDown', 'panDown');
                      }).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseUp');
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.panzoom.js and 5 other locations - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.panzoom.js on lines 216..222
          docs/api/phpdoc/js/jquery.panzoom.js on lines 224..230
          docs/api/phpdoc/js/jquery.panzoom.js on lines 232..238
          docs/api/phpdoc/js/jquery.panzoom.js on lines 248..254
          docs/api/phpdoc/js/jquery.panzoom.js on lines 256..262

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

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

                  if (settings.panLeft) {
                      settings.panLeft.bind('mousedown.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseDown', 'panLeft');
                      }).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseUp');
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.panzoom.js and 5 other locations - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.panzoom.js on lines 216..222
          docs/api/phpdoc/js/jquery.panzoom.js on lines 224..230
          docs/api/phpdoc/js/jquery.panzoom.js on lines 232..238
          docs/api/phpdoc/js/jquery.panzoom.js on lines 240..246
          docs/api/phpdoc/js/jquery.panzoom.js on lines 256..262

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

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

                  if (settings.panUp) {
                      settings.panUp.bind('mousedown.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseDown', 'panUp');
                      }).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseUp');
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.panzoom.js and 5 other locations - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.panzoom.js on lines 216..222
          docs/api/phpdoc/js/jquery.panzoom.js on lines 224..230
          docs/api/phpdoc/js/jquery.panzoom.js on lines 240..246
          docs/api/phpdoc/js/jquery.panzoom.js on lines 248..254
          docs/api/phpdoc/js/jquery.panzoom.js on lines 256..262

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

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

                  if (settings.panRight) {
                      settings.panRight.bind('mousedown.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseDown', 'panRight');
                      }).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseUp');
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.panzoom.js and 5 other locations - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.panzoom.js on lines 216..222
          docs/api/phpdoc/js/jquery.panzoom.js on lines 224..230
          docs/api/phpdoc/js/jquery.panzoom.js on lines 232..238
          docs/api/phpdoc/js/jquery.panzoom.js on lines 240..246
          docs/api/phpdoc/js/jquery.panzoom.js on lines 248..254

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

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

                  if (settings.zoomIn) {
                      settings.zoomIn.bind('mousedown.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseDown', 'zoomIn');
                      }).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseUp');
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.panzoom.js and 5 other locations - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.panzoom.js on lines 224..230
          docs/api/phpdoc/js/jquery.panzoom.js on lines 232..238
          docs/api/phpdoc/js/jquery.panzoom.js on lines 240..246
          docs/api/phpdoc/js/jquery.panzoom.js on lines 248..254
          docs/api/phpdoc/js/jquery.panzoom.js on lines 256..262

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

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

                  if (settings.zoomOut) {
                      settings.zoomOut.bind('mousedown.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseDown', 'zoomOut');
                      }).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
                          event.preventDefault(); event.data.target.panZoom('mouseUp');
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.panzoom.js and 5 other locations - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.panzoom.js on lines 216..222
          docs/api/phpdoc/js/jquery.panzoom.js on lines 232..238
          docs/api/phpdoc/js/jquery.panzoom.js on lines 240..246
          docs/api/phpdoc/js/jquery.panzoom.js on lines 248..254
          docs/api/phpdoc/js/jquery.panzoom.js on lines 256..262

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

          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.x = setter(function(val, skipCss) {
                      this._x = val;
                      if (!skipCss) {
                          this._finishAnimation();
                          this._img.css("left",this._x + (this._swapDimensions ? this.display_diff() / 2 : 0) + "px");
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.iviewer.js and 1 other location - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.iviewer.js on lines 983..992

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

          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.y = setter(function(val, skipCss) {
                      this._y = val;
                      if (!skipCss) {
                          this._finishAnimation();
                          this._img.css("top",this._y - (this._swapDimensions ? this.display_diff() / 2 : 0) + "px");
          Severity: Major
          Found in docs/api/phpdoc/js/jquery.iviewer.js and 1 other location - About 3 hrs to fix
          docs/api/phpdoc/js/jquery.iviewer.js on lines 965..974

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

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

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

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

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

          Refactorings

          Further Reading

          Function send has 86 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                          send: function( headers, complete ) {
          
                              // Get a new xhr
                              var xhr = s.xhr(),
                                  handle,
          Severity: Major
          Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 3 hrs to fix
            Severity
            Category
            Status
            Source
            Language