JohnMunsch/PaperQuik

View on GitHub

Showing 1,311 of 1,311 total issues

Function applyPlacement has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tooltip.prototype.applyPlacement = function (offset, placement) {
    var $tip   = this.tip()
    var width  = $tip[0].offsetWidth
    var height = $tip[0].offsetHeight

Severity: Minor
Found in app/bower_components/bootstrap/dist/js/bootstrap.js - About 1 hr to fix

    Function deserialize has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            deserialize: function(json, create, _data) {
                var res = json;
                _data = _data || {};
                if (Array.isArray(json)) {
                    var type = json[0],
    Severity: Minor
    Found in app/bower_components/paper/dist/paper-core.js - About 1 hr to fix

      Function Curve has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          initialize: function Curve(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
              var count = arguments.length;
              if (count === 3) {
                  this._path = arg0;
                  this._segment1 = arg1;
      Severity: Minor
      Found in app/bower_components/paper/dist/paper-core.js - About 1 hr to fix

        Function getConvexHull has 30 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function getConvexHull(dq0, dq1, dq2, dq3) {
                var p0 = [ 0, dq0 ],
                    p1 = [ 1 / 3, dq1 ],
                    p2 = [ 2 / 3, dq2 ],
                    p3 = [ 1, dq3 ],
        Severity: Minor
        Found in app/bower_components/paper/dist/paper-core.js - About 1 hr to fix

          Function Curve has 30 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              initialize: function Curve(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
                  var count = arguments.length;
                  if (count === 3) {
                      this._path = arg0;
                      this._segment1 = arg1;
          Severity: Minor
          Found in app/bower_components/paper/dist/paper-full.js - About 1 hr to fix

            Function getConvexHull has 30 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function getConvexHull(dq0, dq1, dq2, dq3) {
                    var p0 = [ 0, dq0 ],
                        p1 = [ 1 / 3, dq1 ],
                        p2 = [ 2 / 3, dq2 ],
                        p3 = [ 1, dq3 ],
            Severity: Minor
            Found in app/bower_components/paper/dist/paper-full.js - About 1 hr to fix

              Function deserialize has 30 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      deserialize: function(json, create, _data) {
                          var res = json;
                          _data = _data || {};
                          if (Array.isArray(json)) {
                              var type = json[0],
              Severity: Minor
              Found in app/bower_components/paper/dist/paper-full.js - About 1 hr to fix

                Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    handlers: function( event, handlers ) {
                        var i, matches, sel, handleObj,
                            handlerQueue = [],
                            delegateCount = handlers.delegateCount,
                            cur = event.target;
                Severity: Minor
                Found in app/bower_components/jquery/dist/jquery.js - About 1 hr to fix

                  Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      attr: function( elem, name, value ) {
                          var hooks, ret,
                              nType = elem.nodeType;
                  
                          // don't get/set attributes on text, comment and attribute nodes
                  Severity: Minor
                  Found in app/bower_components/jquery/dist/jquery.js - About 1 hr to fix

                    Function attr has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        attr: function( elem, name, value ) {
                            var hooks, ret,
                                nType = elem.nodeType;
                    
                            // don't get/set attributes on text, comment and attribute nodes
                    Severity: Minor
                    Found in app/bower_components/jquery/src/attributes/attr.js - About 1 hr to fix

                      Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          handlers: function( event, handlers ) {
                              var i, matches, sel, handleObj,
                                  handlerQueue = [],
                                  delegateCount = handlers.delegateCount,
                                  cur = event.target;
                      Severity: Minor
                      Found in app/bower_components/jquery/src/event.js - About 1 hr to fix

                        Function checkPosition has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          Affix.prototype.checkPosition = function () {
                            if (!this.$element.is(':visible')) return
                        
                            var scrollHeight = $(document).height()
                            var scrollTop    = this.$target.scrollTop()
                        Severity: Minor
                        Found in app/bower_components/bootstrap/js/affix.js - About 1 hr to fix

                          Function checkPosition has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            Affix.prototype.checkPosition = function () {
                              if (!this.$element.is(':visible')) return
                          
                              var scrollHeight = $(document).height()
                              var scrollTop    = this.$target.scrollTop()
                          Severity: Minor
                          Found in app/bower_components/bootstrap/dist/js/bootstrap.js - About 1 hr to fix

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

                            jQuery._evalUrl = function( url ) {
                                return jQuery.ajax({
                                    url: url,
                                    type: "GET",
                                    dataType: "script",
                            Severity: Major
                            Found in app/bower_components/jquery/dist/jquery.js and 1 other location - About 1 hr to fix
                            app/bower_components/jquery/src/manipulation/_evalUrl.js on lines 5..14

                            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

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

                            function createInputPseudo( type ) {
                                return function( elem ) {
                                    var name = elem.nodeName.toLowerCase();
                                    return name === "input" && elem.type === type;
                                };
                            Severity: Major
                            Found in app/bower_components/jquery/src/sizzle/dist/sizzle.js and 1 other location - About 1 hr to fix
                            app/bower_components/jquery/dist/jquery.js on lines 943..948

                            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

                            paper = new (PaperScope.inject(Base.exports, {
                                enumerable: true,
                                Base: Base,
                                Numerical: Numerical,
                                DomElement: DomElement,
                            Severity: Major
                            Found in app/bower_components/paper/dist/paper-full.js and 1 other location - About 1 hr to fix
                            app/bower_components/paper/dist/paper-core.js on lines 12557..12565

                            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

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

                            jQuery._evalUrl = function( url ) {
                                return jQuery.ajax({
                                    url: url,
                                    type: "GET",
                                    dataType: "script",
                            Severity: Major
                            Found in app/bower_components/jquery/src/manipulation/_evalUrl.js and 1 other location - About 1 hr to fix
                            app/bower_components/jquery/dist/jquery.js on lines 8316..8325

                            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

                            paper = new (PaperScope.inject(Base.exports, {
                                enumerable: true,
                                Base: Base,
                                Numerical: Numerical,
                                DomElement: DomElement,
                            Severity: Major
                            Found in app/bower_components/paper/dist/paper-core.js and 1 other location - About 1 hr to fix
                            app/bower_components/paper/dist/paper-full.js on lines 13129..13137

                            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

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

                            function createInputPseudo( type ) {
                                return function( elem ) {
                                    var name = elem.nodeName.toLowerCase();
                                    return name === "input" && elem.type === type;
                                };
                            Severity: Major
                            Found in app/bower_components/jquery/dist/jquery.js and 1 other location - About 1 hr to fix
                            app/bower_components/jquery/src/sizzle/dist/sizzle.js on lines 394..399

                            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

                            Function inject has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    inject: function inject() {
                                        for (var i = 0, l = arguments.length; i < l; i++) {
                                            var src = arguments[i],
                                                events = src._events;
                                            if (events) {
                            Severity: Minor
                            Found in app/bower_components/paper/dist/paper-core.js - About 1 hr to fix
                              Severity
                              Category
                              Status
                              Source
                              Language