krafthaus/bauhaus

View on GitHub

Showing 476 of 1,049 total issues

Function data has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    data: function( key, value ) {
        var i, name, data,
            elem = this[0],
            attrs = elem && elem.attributes;

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

    Function fixCloneNodeIssues has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function fixCloneNodeIssues( src, dest ) {
        var nodeName, e, data;
    
        // We do not need to do anything for non-Elements
        if ( dest.nodeType !== 1 ) {
    Severity: Minor
    Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

      Function addClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          addClass: function( value ) {
              var classes, elem, cur, clazz, j, finalValue,
                  i = 0,
                  len = this.length,
                  proceed = typeof value === "string" && value;
      Severity: Minor
      Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

        Function removeClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            removeClass: function( value ) {
                var classes, elem, cur, clazz, j, finalValue,
                    i = 0,
                    len = this.length,
                    proceed = arguments.length === 0 || typeof value === "string" && value;
        Severity: Minor
        Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

          Function load has 32 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          jQuery.fn.load = function( url, params, callback ) {
              if ( typeof url !== "string" && _load ) {
                  return _load.apply( this, arguments );
              }
          
          
          Severity: Minor
          Found in bower_components/jquery/dist/jquery.js - About 1 hr to fix

            Function fixCloneNodeIssues has 32 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function fixCloneNodeIssues( src, dest ) {
                var nodeName, e, data;
            
                // We do not need to do anything for non-Elements
                if ( dest.nodeType !== 1 ) {
            Severity: Minor
            Found in bower_components/jquery/src/manipulation.js - About 1 hr to fix

              Function find has 32 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      function find(direction) {
                          el = DOM.select(':input:enabled,*[tabindex]:not(iframe)');
              
                          function canSelectRecursive(e) {
                              return e.nodeName === "BODY" || (e.type != 'hidden' &&
              Severity: Minor
              Found in bower_components/tinymce/plugins/tabfocus/plugin.js - About 1 hr to fix

                Function load has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                jQuery.fn.load = function( url, params, callback ) {
                    if ( typeof url !== "string" && _load ) {
                        return _load.apply( this, arguments );
                    }
                
                
                Severity: Minor
                Found in bower_components/jquery/src/ajax/load.js - About 1 hr to fix

                  Function addClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      addClass: function( value ) {
                          var classes, elem, cur, clazz, j, finalValue,
                              i = 0,
                              len = this.length,
                              proceed = typeof value === "string" && value;
                  Severity: Minor
                  Found in bower_components/jquery/src/attributes/classes.js - About 1 hr to fix

                    Function data has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        data: function( key, value ) {
                            var i, name, data,
                                elem = this[0],
                                attrs = elem && elem.attributes;
                    
                    
                    Severity: Minor
                    Found in bower_components/jquery/src/data.js - About 1 hr to fix

                      Function removeClass has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          removeClass: function( value ) {
                              var classes, elem, cur, clazz, j, finalValue,
                                  i = 0,
                                  len = this.length,
                                  proceed = arguments.length === 0 || typeof value === "string" && value;
                      Severity: Minor
                      Found in bower_components/jquery/src/attributes/classes.js - About 1 hr to fix

                        Function fixTableCaretPos has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                function fixTableCaretPos() {
                                    editor.on('KeyDown SetContent VisualAid', function() {
                                        var last;
                        
                                        // Skip empty text nodes from the end
                        Severity: Minor
                        Found in bower_components/tinymce/plugins/table/plugin.js - About 1 hr to fix

                          Function convertSelectorToFormat has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function convertSelectorToFormat(selectorText) {
                                  var format;
                          
                                  // Parse simple element.class1, .class1
                                  var selector = /^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(selectorText);
                          Severity: Minor
                          Found in bower_components/tinymce/plugins/importcss/plugin.js - About 1 hr to fix

                            Method buildMenu has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                private function buildMenu($menu)
                                {
                                    $html = '';
                            
                                    foreach ($menu as $value) {
                            Severity: Minor
                            Found in src/KraftHaus/Bauhaus/Menu/Builder.php - About 1 hr to fix

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

                                  function getDateTime(fmt, date) {
                                      var daysShort = "Sun Mon Tue Wed Thu Fri Sat Sun".split(' ');
                                      var daysLong = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(' ');
                                      var monthsShort = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(' ');
                                      var monthsLong = "January February March April May June July August September October November December".split(' ');
                              Severity: Minor
                              Found in bower_components/tinymce/plugins/template/plugin.js - About 1 hr to fix

                                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/js/bootstrap-tooltip.js - About 1 hr to fix

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

                                          function findEndPos() {
                                              var maxX, maxY;
                                  
                                              maxX = maxY = 0;
                                  
                                  
                                  Severity: Minor
                                  Found in bower_components/tinymce/plugins/table/plugin.js - About 1 hr to fix

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

                                                start: function(name, attrs) {
                                                    if (!data.source1 && name == "param") {
                                                        data.source1 = attrs.map.movie;
                                                    }
                                    
                                    
                                    Severity: Minor
                                    Found in bower_components/tinymce/plugins/media/plugin.js - About 1 hr to fix

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

                                              function deleteRows() {
                                                  var rows;
                                      
                                                  function deleteRow(tr) {
                                                      var pos, lastCell;
                                      Severity: Minor
                                      Found in bower_components/tinymce/plugins/table/plugin.js - About 1 hr to fix

                                        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.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language