krafthaus/bauhaus

View on GitHub

Showing 476 of 1,049 total issues

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

  , applyPlacement: function(offset, placement){
      var $tip = this.tip()
        , width = $tip[0].offsetWidth
        , height = $tip[0].offsetHeight
        , actualWidth
Severity: Minor
Found in bower_components/bootstrap/docs/assets/js/bootstrap-tooltip.js - About 1 hr to fix

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

            function render() {
                if (panel) {
                    if (!panel.visible()) {
                        show();
                    }
    Severity: Minor
    Found in public/javascripts/themes/modern/theme.js - About 1 hr to fix

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

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

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

        jQuery.ready.promise = function( obj ) {
            if ( !readyList ) {
        
                readyList = jQuery.Deferred();
        
        
        Severity: Minor
        Found in 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 bower_components/jquery/dist/jquery.js - About 1 hr to fix

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

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

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

              jQuery.ready.promise = function( obj ) {
                  if ( !readyList ) {
              
                      readyList = jQuery.Deferred();
              
              
              Severity: Minor
              Found in bower_components/jquery/src/core/ready.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 bower_components/jquery/src/attributes/attr.js - About 1 hr to fix

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

                          function render() {
                              if (panel) {
                                  if (!panel.visible()) {
                                      show();
                                  }
                  Severity: Minor
                  Found in bower_components/tinymce/themes/modern/theme.js - About 1 hr to fix

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

                                    onSubmit: function(e) {
                                        var count, caseState, text, wholeWord;
                    
                                        e.preventDefault();
                    
                    
                    Severity: Minor
                    Found in bower_components/tinymce/plugins/searchreplace/plugin.js - About 1 hr to fix

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

                          function toggleVisualChars(addBookmark) {
                              var node, nodeList, i, body = editor.getBody(), nodeValue, selection = editor.selection, div, bookmark;
                      
                              state = !state;
                              self.state = state;
                      Severity: Minor
                      Found in bower_components/tinymce/plugins/visualchars/plugin.js - About 1 hr to fix

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

                                        function convertParagraphToLi(paragraphNode, listName, start) {
                                            var level = paragraphNode._listLevel || lastLevel;
                        
                                            // Handle list nesting
                                            if (level != lastLevel) {
                        Severity: Minor
                        Found in bower_components/tinymce/plugins/paste/plugin.js - About 1 hr to fix

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

                              html: function( value ) {
                                  return access( this, function( value ) {
                                      var elem = this[ 0 ] || {},
                                          i = 0,
                                          l = this.length;
                          Severity: Minor
                          Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

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

                                toggleClass: function( value, stateVal ) {
                                    var type = typeof value;
                            
                                    if ( typeof stateVal === "boolean" && type === "string" ) {
                                        return stateVal ? this.addClass( value ) : this.removeClass( value );
                            Severity: Minor
                            Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

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

                                  html: function( value ) {
                                      return access( this, function( value ) {
                                          var elem = this[ 0 ] || {},
                                              i = 0,
                                              l = this.length;
                              Severity: Minor
                              Found in bower_components/jquery/src/manipulation.js - About 1 hr to fix

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

                                    toggleClass: function( value, stateVal ) {
                                        var type = typeof value;
                                
                                        if ( typeof stateVal === "boolean" && type === "string" ) {
                                            return stateVal ? this.addClass( value ) : this.removeClass( value );
                                Severity: Minor
                                Found in bower_components/jquery/src/attributes/classes.js - About 1 hr to fix

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

                                  function render(mode, el, holder, src) {
                                      var dimensions = holder.dimensions,
                                          theme = holder.theme,
                                          text = holder.text ? decodeURIComponent(holder.text) : holder.text;
                                      var dimensions_caption = dimensions.width + "x" + dimensions.height;
                                  Severity: Minor
                                  Found in bower_components/bootstrap/docs/assets/js/holder/holder.js - About 1 hr to fix

                                    Method render has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function render()
                                        {
                                            switch ($this->getContext()) {
                                                case BaseField::CONTEXT_LIST:
                                                    $values = [];
                                    Severity: Minor
                                    Found in src/KraftHaus/Bauhaus/Field/HasManyField.php - About 1 hr to fix

                                      Function fix has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          fix: function( event ) {
                                              if ( event[ jQuery.expando ] ) {
                                                  return event;
                                              }
                                      
                                      
                                      Severity: Minor
                                      Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

                                        Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            finish: function( type ) {
                                                if ( type !== false ) {
                                                    type = type || "fx";
                                                }
                                                return this.each(function() {
                                        Severity: Minor
                                        Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language