stevenhaddox/rvm_fw

View on GitHub

Showing 42 of 114 total issues

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

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
Severity: Major
Found in public/javascripts/bootstrap.js - About 4 days to fix

    File tooltip.js has 343 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /* ========================================================================
     * Bootstrap: tooltip.js v3.3.4
     * http://getbootstrap.com/javascript/#tooltip
     * Inspired by the original jQuery.tipsy by Jason Frame
     * ========================================================================
    Severity: Minor
    Found in public/javascripts/bootstrap/tooltip.js - About 4 hrs to fix

      File html5shiv-print.js has 275 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
      * @preserve HTML5 Shiv 3.7.3-pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
      */
      ;(function(window, document) {
      /*jshint evil:true */
      Severity: Minor
      Found in public/javascripts/html5shiv-print.js - About 2 hrs to fix

        Function applyMedia has 60 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                applyMedia = function( fromResize ){
                    var name = "clientWidth",
                        docElemProp = docElem[ name ],
                        currWidth = doc.compatMode === "CSS1Compat" && docElemProp || doc.body[ name ] || docElemProp,
                        styleBlocks    = {},
        Severity: Major
        Found in public/javascripts/respond-1.4.2.js - About 2 hrs to fix

          Function shivPrint has 57 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            function shivPrint(ownerDocument) {
              var shivedSheet,
                  wrappers,
                  data = getExpandoData(ownerDocument),
                  namespaces = ownerDocument.namespaces,
          Severity: Major
          Found in public/javascripts/html5shiv-print.js - About 2 hrs to fix

            Function show has 54 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              Tooltip.prototype.show = function () {
                var e = $.Event('show.bs.' + this.type)
            
                if (this.hasContent() && this.enabled) {
                  this.$element.trigger(e)
            Severity: Major
            Found in public/javascripts/bootstrap/tooltip.js - About 2 hrs to fix

              Function show has 54 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                Tooltip.prototype.show = function () {
                  var e = $.Event('show.bs.' + this.type)
              
                  if (this.hasContent() && this.enabled) {
                    this.$element.trigger(e)
              Severity: Major
              Found in public/javascripts/bootstrap.js - About 2 hrs to fix

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

                /* ===========================================================
                 * bootstrap-tooltip.js v2.3.0
                 * http://twitter.github.com/bootstrap/javascript.html#tooltips
                 * Inspired by the original jQuery.tipsy by Jason Frame
                 * ===========================================================
                Severity: Minor
                Found in public/javascripts/bootstrap-tooltip.js - About 2 hrs to fix

                  Function slide has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    , slide: function (type, next) {
                        var $active = this.$element.find('.item.active')
                          , $next = next || $active[type]()
                          , isCycling = this.interval
                          , direction = type == 'next' ? 'left' : 'right'
                  Severity: Minor
                  Found in public/javascripts/bootstrap-carousel.js - About 1 hr to fix

                    Function slide has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      Carousel.prototype.slide = function (type, next) {
                        var $active   = this.$element.find('.item.active')
                        var $next     = next || this.getItemForDirection(type, $active)
                        var isCycling = this.interval
                        var direction = type == 'next' ? 'left' : 'right'
                    Severity: Minor
                    Found in public/javascripts/bootstrap.js - About 1 hr to fix

                      Function slide has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        Carousel.prototype.slide = function (type, next) {
                          var $active   = this.$element.find('.item.active')
                          var $next     = next || this.getItemForDirection(type, $active)
                          var isCycling = this.interval
                          var direction = type == 'next' ? 'left' : 'right'
                      Severity: Minor
                      Found in public/javascripts/bootstrap/carousel.js - About 1 hr to fix

                        Function show has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          , show: function () {
                              var $tip
                                , pos
                                , actualWidth
                                , actualHeight
                        Severity: Minor
                        Found in public/javascripts/bootstrap-tooltip.js - About 1 hr to fix

                          Function show has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            Modal.prototype.show = function (_relatedTarget) {
                              var that = this
                              var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
                          
                              this.$element.trigger(e)
                          Severity: Minor
                          Found in public/javascripts/bootstrap.js - About 1 hr to fix

                            Function show has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              Modal.prototype.show = function (_relatedTarget) {
                                var that = this
                                var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
                            
                                this.$element.trigger(e)
                            Severity: Minor
                            Found in public/javascripts/bootstrap/modal.js - About 1 hr to fix

                              Function activate has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                Tab.prototype.activate = function (element, container, callback) {
                                  var $active    = container.find('> .active')
                                  var transition = callback
                                    && $.support.transition
                                    && (($active.length && $active.hasClass('fade')) || !!container.find('> .fade').length)
                              Severity: Minor
                              Found in public/javascripts/bootstrap/tab.js - About 1 hr to fix

                                Function backdrop has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                  Modal.prototype.backdrop = function (callback) {
                                    var that = this
                                    var animate = this.$element.hasClass('fade') ? 'fade' : ''
                                
                                    if (this.isShown && this.options.backdrop) {
                                Severity: Minor
                                Found in public/javascripts/bootstrap/modal.js - About 1 hr to fix

                                  Function backdrop has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                    Modal.prototype.backdrop = function (callback) {
                                      var that = this
                                      var animate = this.$element.hasClass('fade') ? 'fade' : ''
                                  
                                      if (this.isShown && this.options.backdrop) {
                                  Severity: Minor
                                  Found in public/javascripts/bootstrap.js - About 1 hr to fix

                                    Function activate has 38 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      Tab.prototype.activate = function (element, container, callback) {
                                        var $active    = container.find('> .active')
                                        var transition = callback
                                          && $.support.transition
                                          && (($active.length && $active.hasClass('fade')) || !!container.find('> .fade').length)
                                    Severity: Minor
                                    Found in public/javascripts/bootstrap.js - About 1 hr to fix

                                      Function show has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        Collapse.prototype.show = function () {
                                          if (this.transitioning || this.$element.hasClass('in')) return
                                      
                                          var activesData
                                          var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
                                      Severity: Minor
                                      Found in public/javascripts/bootstrap/collapse.js - About 1 hr to fix

                                        Function show has 36 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          Collapse.prototype.show = function () {
                                            if (this.transitioning || this.$element.hasClass('in')) return
                                        
                                            var activesData
                                            var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
                                        Severity: Minor
                                        Found in public/javascripts/bootstrap.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language