arey/angular-musicbrainz

View on GitHub

Showing 290 of 632 total issues

File jquery.js has 6118 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * jQuery JavaScript Library v2.1.0
 * http://jquery.com/
 *
 * Includes Sizzle.js
Severity: Major
Found in app/lib/jquery/jquery.js - About 2 wks to fix

    File ui-bootstrap-tpls.js has 2682 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     * angular-ui-bootstrap
     * http://angular-ui.github.io/bootstrap/
    
     * Version: 0.10.0 - 2014-01-13
    Severity: Major
    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 1 wk to fix

      File ui-bootstrap.js has 2455 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*
       * angular-ui-bootstrap
       * http://angular-ui.github.io/bootstrap/
      
       * Version: 0.10.0 - 2014-01-13
      Severity: Major
      Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js - About 6 days to fix

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

        (function( window ) {
        
        var i,
            support,
            Expr,
        Severity: Major
        Found in app/lib/jquery/jquery.js - About 6 days to fix

          File bootstrap.js has 1256 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /*!
           * Bootstrap v3.1.1 (http://getbootstrap.com)
           * Copyright 2011-2014 Twitter, Inc.
           * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
           */
          Severity: Major
          Found in app/lib/bootstrap/dist/js/bootstrap.js - About 3 days to fix

            File angular-mocks.js has 820 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /**
             * @license AngularJS v1.2.13
             * (c) 2010-2014 Google, Inc. http://angularjs.org
             * License: MIT
             */
            Severity: Major
            Found in app/lib/angular-mocks/angular-mocks.js - About 1 day to fix

              Function exports has 348 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              module.exports = function (grunt) {
                'use strict';
              
                // Force use of Unix newlines
                grunt.util.linefeed = '\n';
              Severity: Major
              Found in app/lib/bootstrap/Gruntfile.js - About 1 day to fix

                Function exports has 297 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                module.exports = function (grunt) {
                    require('load-grunt-tasks')(grunt);
                    require('time-grunt')(grunt);
                
                    // configurable paths
                Severity: Major
                Found in Gruntfile.js - About 1 day to fix

                  Function ajax has 240 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      ajax: function( url, options ) {
                  
                          // If url is an object, simulate pre-1.5 signature
                          if ( typeof url === "object" ) {
                              options = url;
                  Severity: Major
                  Found in app/lib/jquery/jquery.js - About 1 day to fix

                    Function setDocument has 215 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    setDocument = Sizzle.setDocument = function( node ) {
                        var hasCompare,
                            doc = node ? node.ownerDocument || node : preferredDoc,
                            parent = doc.defaultView;
                    
                    
                    Severity: Major
                    Found in app/lib/jquery/jquery.js - About 1 day to fix

                      Function $get has 193 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/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 7 hrs to fix

                        Function $get has 193 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/lib/angular-ui-bootstrap-bower/ui-bootstrap.js - About 7 hrs to fix

                          Function $tooltip has 191 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/lib/angular-ui-bootstrap-bower/ui-bootstrap.js - About 7 hrs to fix

                            Function $tooltip has 191 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/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 7 hrs to fix

                              Function $RouteProvider has 185 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function $RouteProvider(){
                                function inherit(parent, extra) {
                                  return angular.extend(new (angular.extend(function() {}, {prototype:parent}))(), extra);
                                }
                              
                              
                              Severity: Major
                              Found in app/lib/angular-route/angular-route.js - About 7 hrs to fix

                                Function link has 174 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    link: function(scope, element, attrs, ngModel) {
                                      if ( !ngModel ) {
                                        return; // do nothing if no ng-model
                                      }
                                
                                
                                Severity: Major
                                Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js - About 6 hrs to fix

                                  Function link has 174 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      link: function(scope, element, attrs, ngModel) {
                                        if ( !ngModel ) {
                                          return; // do nothing if no ng-model
                                        }
                                  
                                  
                                  Severity: Major
                                  Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

                                    Function compile has 164 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            compile: function (tElem, tAttrs) {
                                              var tooltipLinker = $compile( template );
                                    
                                              return function link ( scope, element, attrs ) {
                                                var tooltip;
                                    Severity: Major
                                    Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap.js - About 6 hrs to fix

                                      Function compile has 164 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              compile: function (tElem, tAttrs) {
                                                var tooltipLinker = $compile( template );
                                      
                                                return function link ( scope, element, attrs ) {
                                                  var tooltip;
                                      Severity: Major
                                      Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix

                                        Function link has 162 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            link: function(originalScope, element, attrs, ngModel) {
                                              var scope = originalScope.$new(), // create a child scope so we are not polluting original one
                                                  dateFormat,
                                                  closeOnDateSelection = angular.isDefined(attrs.closeOnDateSelection) ? originalScope.$eval(attrs.closeOnDateSelection) : datepickerPopupConfig.closeOnDateSelection,
                                                  appendToBody = angular.isDefined(attrs.datepickerAppendToBody) ? originalScope.$eval(attrs.datepickerAppendToBody) : datepickerPopupConfig.appendToBody;
                                        Severity: Major
                                        Found in app/lib/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js - About 6 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language