krafthaus/bauhaus

View on GitHub

Showing 476 of 1,049 total issues

Function setDocument has 216 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 bower_components/jquery/dist/jquery.js - About 1 day to fix

    Function setDocument has 216 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 bower_components/jquery/src/sizzle/dist/sizzle.js - About 1 day to fix

      File manipulation.js has 521 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      define([
          "./core",
          "./var/strundefined",
          "./var/concat",
          "./var/push",
      Severity: Major
      Found in bower_components/jquery/src/manipulation.js - About 1 day to fix

        File effects.js has 505 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        define([
            "./core",
            "./var/pnum",
            "./css/var/cssExpand",
            "./css/var/isHidden",
        Severity: Major
        Found in bower_components/jquery/src/effects.js - About 1 day to fix

          File ajax.js has 499 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          define([
              "./core",
              "./var/rnotwhite",
              "./ajax/var/nonce",
              "./ajax/var/rquery",
          Severity: Minor
          Found in bower_components/jquery/src/ajax.js - About 1 day to fix

            Function cell has 177 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    self.cell = function() {
                        var dom = editor.dom, cellElm, data, classListCtrl, cells = [];
            
                        function onSubmitCellForm() {
                            updateStyle(dom, this);
            Severity: Major
            Found in bower_components/tinymce/plugins/table/plugin.js - About 7 hrs to fix

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

                  function findAndReplaceDOMText(regex, node, replacementNode, captureGroup, schema) {
                      var m, matches = [], text, count = 0, doc;
                      var blockElementsMap, hiddenTextElementsMap, shortEndedElementsMap;
              
                      doc = node.ownerDocument;
              Severity: Major
              Found in bower_components/tinymce/plugins/searchreplace/plugin.js - About 6 hrs to fix

                File plugin.js has 446 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /**
                 * plugin.js
                 *
                 * Copyright, Moxiecode Systems AB
                 * Released under LGPL License.
                Severity: Minor
                Found in bower_components/tinymce/plugins/searchreplace/plugin.js - About 6 hrs to fix

                  File theme.js has 428 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  /**
                   * theme.js
                   *
                   * Copyright, Moxiecode Systems AB
                   * Released under LGPL License.
                  Severity: Minor
                  Found in public/javascripts/themes/modern/theme.js - About 6 hrs to fix

                    File theme.js has 428 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    /**
                     * theme.js
                     *
                     * Copyright, Moxiecode Systems AB
                     * Released under LGPL License.
                    Severity: Minor
                    Found in bower_components/tinymce/themes/modern/theme.js - About 6 hrs to fix

                      Function dataToHtml has 153 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function dataToHtml(data) {
                              var headerFragment, headElement, html, elm, value, dom = editor.dom;
                      
                              function setAttr(elm, name, value) {
                                  elm.attr(name, value ? value : undefined);
                      Severity: Major
                      Found in bower_components/tinymce/plugins/fullpage/plugin.js - About 6 hrs to fix

                        Function table has 151 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                self.table = function(isProps) {
                                    var dom = editor.dom, tableElm, colsCtrl, rowsCtrl, classListCtrl, data = {}, generalTableForm;
                        
                                    function onSubmitTableForm() {
                                        var captionElm;
                        Severity: Major
                        Found in bower_components/tinymce/plugins/table/plugin.js - About 6 hrs to fix

                          Function row has 144 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  self.row = function() {
                                      var dom = editor.dom, tableElm, cellElm, rowElm, classListCtrl, data, rows = [], generalRowForm;
                          
                                      function onSubmitRowForm() {
                                          var tableElm, oldParentElm, parentElm;
                          Severity: Major
                          Found in bower_components/tinymce/plugins/table/plugin.js - About 5 hrs to fix

                            Function registerEventHandlers has 131 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                    function registerEventHandlers() {
                                        editor.on('keydown', function(e) {
                                            function removePasteBinOnKeyUp(e) {
                                                // Ctrl+V or Shift+Insert
                                                if (isKeyboardPasteEvent(e) && !e.isDefaultPrevented()) {
                            Severity: Major
                            Found in bower_components/tinymce/plugins/paste/plugin.js - About 5 hrs to fix

                              Admin has 39 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              class Admin
                              {
                              
                                  /**
                                   * Holds the model name.
                              Severity: Minor
                              Found in src/KraftHaus/Bauhaus/Admin.php - About 5 hrs to fix

                                Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                jQuery.Callbacks = function( options ) {
                                
                                    // Convert options from String-formatted to Object-formatted if needed
                                    // (we check in cache first)
                                    options = typeof options === "string" ?
                                Severity: Major
                                Found in bower_components/jquery/dist/jquery.js - About 5 hrs to fix

                                  Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  jQuery.Callbacks = function( options ) {
                                  
                                      // Convert options from String-formatted to Object-formatted if needed
                                      // (we check in cache first)
                                      options = typeof options === "string" ?
                                  Severity: Major
                                  Found in bower_components/jquery/src/callbacks.js - About 5 hrs to fix

                                    Function moveWebKitSelection has 128 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            function moveWebKitSelection() {
                                                function eventHandler(e) {
                                                    var key = e.keyCode;
                                    
                                                    function handle(upBool, sourceNode) {
                                    Severity: Major
                                    Found in bower_components/tinymce/plugins/table/plugin.js - About 5 hrs to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                                  if ( event.pageX == null && original.clientX != null ) {
                                                      eventDoc = event.target.ownerDocument || document;
                                                      doc = eventDoc.documentElement;
                                                      body = eventDoc.body;
                                      
                                      
                                      Severity: Critical
                                      Found in bower_components/jquery/dist/jquery.js - About 5 hrs to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                                    if ( event.pageX == null && original.clientX != null ) {
                                                        eventDoc = event.target.ownerDocument || document;
                                                        doc = eventDoc.documentElement;
                                                        body = eventDoc.body;
                                        
                                        
                                        Severity: Critical
                                        Found in bower_components/jquery/src/event.js - About 5 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language