JohnMunsch/PaperQuik

View on GitHub

Showing 1,311 of 1,311 total issues

Function Base has 173 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var Base = new function() {
    var hidden = /^(statics|enumerable|beans|preserve)$/,

        forEach = [].forEach || function(iter, bind) {
            for (var i = 0, l = this.length; i < l; i++)
Severity: Major
Found in app/bower_components/paper/dist/paper-full.js - About 6 hrs to fix

    Function DomElement has 172 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    var DomElement = new function() {
    
        var special = /^(checked|value|selected|disabled)$/i,
            translated = { text: 'textContent', html: 'innerHTML' },
            unitless = { lineHeight: 1, zoom: 1, zIndex: 1, opacity: 1 };
    Severity: Major
    Found in app/bower_components/paper/dist/paper-core.js - About 6 hrs to fix

      Function DomElement has 172 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      var DomElement = new function() {
      
          var special = /^(checked|value|selected|disabled)$/i,
              translated = { text: 'textContent', html: 'innerHTML' },
              unitless = { lineHeight: 1, zoom: 1, zIndex: 1, opacity: 1 };
      Severity: Major
      Found in app/bower_components/paper/dist/paper-full.js - About 6 hrs to fix

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

        var Event = Base.extend({
            _class: 'Event',
        
            initialize: function Event(event) {
                this.event = event;
        Severity: Major
        Found in app/bower_components/paper/dist/paper-full.js and 1 other location - About 6 hrs to fix
        app/bower_components/paper/dist/paper-core.js on lines 10918..10946

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

        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

        var Event = Base.extend({
            _class: 'Event',
        
            initialize: function Event(event) {
                this.event = event;
        Severity: Major
        Found in app/bower_components/paper/dist/paper-core.js and 1 other location - About 6 hrs to fix
        app/bower_components/paper/dist/paper-full.js on lines 10918..10946

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

        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.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
            var getter = attrHandle[ name ] || jQuery.find.attr;
        
            attrHandle[ name ] = function( elem, name, isXML ) {
                var ret, handle;
        Severity: Major
        Found in app/bower_components/jquery/dist/jquery.js and 1 other location - About 6 hrs to fix
        app/bower_components/jquery/src/attributes/attr.js on lines 125..141

        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

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

        jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
            var getter = attrHandle[ name ] || jQuery.find.attr;
        
            attrHandle[ name ] = function( elem, name, isXML ) {
                var ret, handle;
        Severity: Major
        Found in app/bower_components/jquery/src/attributes/attr.js and 1 other location - About 6 hrs to fix
        app/bower_components/jquery/dist/jquery.js on lines 7026..7042

        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

        Function $get has 165 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          this.$get = [ '$window', '$compile', '$timeout', '$parse', '$document', '$position', '$interpolate', function ( $window, $compile, $timeout, $parse, $document, $position, $interpolate ) {
            return function $tooltip ( type, prefix, defaultTriggerShow ) {
              var options = angular.extend( {}, defaultOptions, globalOptions );
        
              /**
        Severity: Major
        Found in app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

          Function $get has 165 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            this.$get = [ '$window', '$compile', '$timeout', '$parse', '$document', '$position', '$interpolate', function ( $window, $compile, $timeout, $parse, $document, $position, $interpolate ) {
              return function $tooltip ( type, prefix, defaultTriggerShow ) {
                var options = angular.extend( {}, defaultOptions, globalOptions );
          
                /**
          Severity: Major
          Found in app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap.js - About 6 hrs to fix

            Function $tooltip has 163 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                return function $tooltip ( type, prefix, defaultTriggerShow ) {
                  var options = angular.extend( {}, defaultOptions, globalOptions );
            
                  /**
                   * Returns an object of show and hide triggers.
            Severity: Major
            Found in app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap.js - About 6 hrs to fix

              Function $tooltip has 163 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  return function $tooltip ( type, prefix, defaultTriggerShow ) {
                    var options = angular.extend( {}, defaultOptions, globalOptions );
              
                    /**
                     * Returns an object of show and hide triggers.
              Severity: Major
              Found in app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

                File templates.js has 435 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                angular.module('angularSpinkit').run(['$templateCache', function($templateCache) {
                  'use strict';
                
                  $templateCache.put('src/templates/chasingDotsSpinner.html',
                    "<style>\n" +
                Severity: Minor
                Found in app/bower_components/angular-spinkit/build/templates.js - About 6 hrs to fix

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

                  jQuery.each([ "radio", "checkbox" ], function() {
                      jQuery.valHooks[ this ] = {
                          set: function( elem, value ) {
                              if ( jQuery.isArray( value ) ) {
                                  return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
                  Severity: Major
                  Found in app/bower_components/jquery/src/attributes/val.js and 1 other location - About 6 hrs to fix
                  app/bower_components/jquery/dist/jquery.js on lines 7430..7445

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

                  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

                  jQuery.each([ "radio", "checkbox" ], function() {
                      jQuery.valHooks[ this ] = {
                          set: function( elem, value ) {
                              if ( jQuery.isArray( value ) ) {
                                  return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
                  Severity: Major
                  Found in app/bower_components/jquery/dist/jquery.js and 1 other location - About 6 hrs to fix
                  app/bower_components/jquery/src/attributes/val.js on lines 146..161

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

                  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.fx.tick = function() {
                      var timer,
                          i = 0,
                          timers = jQuery.timers;
                  
                  
                  Severity: Major
                  Found in app/bower_components/jquery/dist/jquery.js and 1 other location - About 6 hrs to fix
                  app/bower_components/jquery/src/effects.js on lines 598..617

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

                  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.fx.tick = function() {
                      var timer,
                          i = 0,
                          timers = jQuery.timers;
                  
                  
                  Severity: Major
                  Found in app/bower_components/jquery/src/effects.js and 1 other location - About 6 hrs to fix
                  app/bower_components/jquery/dist/jquery.js on lines 6816..6835

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

                  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

                  File manipulation.js has 412 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  define([
                      "./core",
                      "./var/concat",
                      "./var/push",
                      "./core/access",
                  Severity: Minor
                  Found in app/bower_components/jquery/src/manipulation.js - About 5 hrs to fix

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

                    var KeyEvent = Event.extend({
                        _class: 'KeyEvent',
                    
                        initialize: function KeyEvent(down, key, character, event) {
                            Event.call(this, event);
                    Severity: Major
                    Found in app/bower_components/paper/dist/paper-core.js and 1 other location - About 5 hrs to fix
                    app/bower_components/paper/dist/paper-full.js on lines 10948..10965

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

                    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

                    var KeyEvent = Event.extend({
                        _class: 'KeyEvent',
                    
                        initialize: function KeyEvent(down, key, character, event) {
                            Event.call(this, event);
                    Severity: Major
                    Found in app/bower_components/paper/dist/paper-full.js and 1 other location - About 5 hrs to fix
                    app/bower_components/paper/dist/paper-core.js on lines 10948..10965

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

                    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.extend({
                        hasData: function( elem ) {
                            return data_user.hasData( elem ) || data_priv.hasData( elem );
                        },
                    
                    
                    Severity: Major
                    Found in app/bower_components/jquery/dist/jquery.js and 1 other location - About 5 hrs to fix
                    app/bower_components/jquery/src/data.js on lines 52..74

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

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

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

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

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

                    Refactorings

                    Further Reading

                    Severity
                    Category
                    Status
                    Source
                    Language