krafthaus/bauhaus

View on GitHub

Showing 1,049 of 1,049 total issues

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

                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language