eisen-dev/eisen_front

View on GitHub

Showing 150 of 2,746 total issues

File jquery.tablesorter.widgets.js has 2335 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*** This file is dynamically generated ***
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–„β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ
β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆβ–„β–„ β–ˆβ–ˆβ–„β–„β–ˆβ–ˆ
β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆβ–€β–€ β–€β–€β–€β–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–€ β–ˆβ–ˆ β–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–€ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–€ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€ β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€
Severity: Major
Found in webd/includes/tablesorter/jquery.tablesorter.widgets.js - About 6 days to fix

    File jquery.tablesorter.js has 2175 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*! TableSorter (FORK) v2.25.3 *//*
    * Client-side table sorting with ease!
    * @requires jQuery v1.2.6+
    *
    * Copyright (c) 2007 Christian Bach
    Severity: Major
    Found in webd/includes/tablesorter/jquery.tablesorter.js - About 6 days to fix

      File jqueryui.d.ts has 980 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      // Type definitions for jQueryUI 1.9
      // Project: http://jqueryui.com/
      // Definitions by: Boris Yankov <https://github.com/borisyankov/>, John Reilly <https://github.com/johnnyreilly>
      // Definitions: https://github.com/borisyankov/DefinitelyTyped
       
       
      Severity: Major
      Found in webd/ts/libs/jqueryui.d.ts - About 2 days to fix

        File DbAction.php has 599 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        <?php
        /**
        * Eisen Frontend
        * http://eisen-dev.github.io
        *
        Severity: Major
        Found in webd/includes/DbAction.php - About 1 day to fix

          File jquery.d.ts has 594 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          // Type definitions for jQuery 1.10.x / 2.0.x
          // Project: http://jquery.com/
          // Definitions by: Boris Yankov <https://github.com/borisyankov/>, Christian Hoffmeister <https://github.com/choffmeister>, Steve Fenton <https://github.com/Steve-Fenton>, Diullei Gomes <https://github.com/Diullei>, Tass Iliopoulos <https://github.com/tasoili>, Jason Swearingen <https://github.com/jasons-novaleaf>, Sean Hill <https://github.com/seanski>, Guus Goossens <https://github.com/Guuz>, Kelly Summerlin <https://github.com/ksummerlin>, Basarat Ali Syed <https://github.com/basarat>, Nicholas Wolverson <https://github.com/nwolverson>, Derek Cicerone <https://github.com/derekcicerone>, Andrew Gaspar <https://github.com/AndrewGaspar>, James Harrison Fisher <https://github.com/jameshfisher>, Seikichi Kondo <https://github.com/seikichi>, Benjamin Jackman <https://github.com/benjaminjackman>, Poul Sorensen <https://github.com/s093294>, Josh Strobl <https://github.com/JoshStrobl>, John Reilly <https://github.com/johnnyreilly/>, Dick van den Brink <https://github.com/DickvdBrink>
          // Definitions: https://github.com/borisyankov/DefinitelyTyped
           
           
          Severity: Major
          Found in webd/ts/libs/jquery.d.ts - About 1 day to fix

            File notify.js has 565 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            /*
            * Eisen Frontend
            * http://eisen-dev.github.io
            *
            * Copyright (c) 2016 Alice Ferrazzi <alice.ferrazzi@gmail.com> - Takuma Muramatsu <t.muramatu59@gmail.com>
            Severity: Major
            Found in webd/includes/notify/notify.js - About 1 day to fix

              Function findRows has 191 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              findRows: function( table, filters, combinedFilters ) {
              if ( table.config.lastCombinedFilter === combinedFilters ||
              !table.config.widgetOptions.filter_initialized ) {
              return;
              }
              Severity: Major
              Found in webd/includes/tablesorter/jquery.tablesorter.widgets.js - About 7 hrs to fix

                File restclient.php has 473 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                <?php
                /**
                * Eisen Frontend
                * http://eisen-dev.github.io
                *
                Severity: Minor
                Found in webd/includes/restclient.php - About 7 hrs to fix

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

                  init: function( table, c, wo ) {
                  // filter language options
                  ts.language = $.extend( true, {}, {
                  to : 'to',
                  or : 'or',
                  Severity: Major
                  Found in webd/includes/tablesorter/jquery.tablesorter.widgets.js - About 6 hrs to fix

                    Function format has 155 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    format: function(table, c, wo) {
                    // filter widget doesn't initialize on an empty table. Fixes #449
                    if ( c.$table.hasClass('hasStickyHeaders') || ($.inArray('filter', c.widgets) >= 0 && !c.$table.hasClass('hasFilters')) ) {
                    return;
                    }
                    Severity: Major
                    Found in webd/includes/tablesorter/jquery.tablesorter.widgets.js - About 6 hrs to fix

                      Method TableCreation has 136 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      public function TableCreation($dbh)
                      {
                       
                      $this->CreateDbTable(
                      'user_info',
                      Severity: Major
                      Found in webd/includes/DbAction.php - About 5 hrs to fix

                        Function buildCache has 119 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        buildCache : function( c, callback, $tbodies ) {
                        var cache, val, txt, rowIndex, colIndex, tbodyIndex, $tbody, $row,
                        cols, $cells, cell, cacheTime, totalRows, rowData, prevRowData,
                        colMax, span, cacheIndex, hasParser, max, len, index,
                        table = c.table,
                        Severity: Major
                        Found in webd/includes/tablesorter/jquery.tablesorter.js - About 4 hrs to fix

                          Function initSort has 111 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          initSort : function( c, cell, event ) {
                          if ( c.table.isUpdating ) {
                          // let any updates complete before initializing a sort
                          return setTimeout( function(){
                          ts.initSort( c, cell, event );
                          Severity: Major
                          Found in webd/includes/tablesorter/jquery.tablesorter.js - About 4 hrs to fix

                            Function processRow has 105 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            processRow: function( c, data, vars ) {
                            var result, filterMatched,
                            fxn, ffxn, txt,
                            wo = c.widgetOptions,
                            showRow = true,
                            Severity: Major
                            Found in webd/includes/tablesorter/jquery.tablesorter.widgets.js - About 4 hrs to fix

                              DbAction has 33 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              class DbAction
                              {
                              /**
                              * @return Logger
                              */
                              Severity: Minor
                              Found in webd/includes/DbAction.php - About 4 hrs to fix

                                File index.php has 336 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                /**
                                * Eisen Frontend
                                * http://eisen-dev.github.io
                                *
                                Severity: Minor
                                Found in webd/index.php - About 4 hrs to fix

                                  Function setup has 99 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  setup : function( table, c ) {
                                  // if no thead or tbody, or tablesorter is already present, quit
                                  if ( !table || !table.tHead || table.tBodies.length === 0 || table.hasInitialized === true ) {
                                  if ( c.debug ) {
                                  if ( table.hasInitialized ) {
                                  Severity: Major
                                  Found in webd/includes/tablesorter/jquery.tablesorter.js - About 3 hrs to fix

                                    Function format has 91 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    format: function(table, c, wo) {
                                    var i, hdr, icon, time, $header, $icon, $tfoot, $h, oldtheme, oldremove, oldIconRmv, hasOldTheme,
                                    themesAll = ts.themes,
                                    $table = c.$table.add( $( c.namespace + '_extra_table' ) ),
                                    $headers = c.$headers.add( $( c.namespace + '_extra_headers' ) ),
                                    Severity: Major
                                    Found in webd/includes/tablesorter/jquery.tablesorter.widgets.js - About 3 hrs to fix

                                      File ajaxtest.php has 308 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      <!--
                                      Eisen Frontend
                                      http://eisen-dev.github.io
                                       
                                      Copyright (c) $today.year Alice Ferrazzi <alice.ferrazzi@gmail.com> - Takuma Muramatsu <t.muramatu59@gmail.com>
                                      Severity: Minor
                                      Found in webd/ajaxtest.php - About 3 hrs to fix

                                        Function setupParsers has 83 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        setupParsers : function( c, $tbodies ) {
                                        var rows, list, span, max, colIndex, indx, header, configHeaders,
                                        noParser, parser, extractor, time, tbody, len,
                                        table = c.table,
                                        tbodyIndex = 0,
                                        Severity: Major
                                        Found in webd/includes/tablesorter/jquery.tablesorter.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language