VSVverkeerskunde/gvq-api

View on GitHub

Showing 428 of 1,426 total issues

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

/*!
 * jQuery JavaScript Library v3.3.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
Severity: Major
Found in public/js/jquery.js - About 2 wks to fix

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

    /*! DataTables 1.10.16
     * ©2008-2017 SpryMedia Ltd - datatables.net/license
     */
    
    /**
    Severity: Major
    Found in public/js/jquery.dataTables.js - About 2 wks to fix

      File bootstrap.js has 2812 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /*!
        * Bootstrap v4.1.0 (https://getbootstrap.com/)
        * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
        * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
        */
      Severity: Major
      Found in public/js/bootstrap.js - About 1 wk to fix

        File bootstrap-table.js has 2745 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        /**
         * @author zhixin wen <wenzhixin2010@gmail.com>
         * version: 1.12.1
         * https://github.com/wenzhixin/bootstrap-table/
         */
        Severity: Major
        Found in public/js/bootstrap-table.js - About 1 wk to fix

          Function Sizzle has 1452 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          (function( window ) {
          
          var i,
              support,
              Expr,
          Severity: Major
          Found in public/js/jquery.js - About 1 wk to fix

            Function Tooltip has 513 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              var Tooltip = function ($$$1) {
                /**
                 * ------------------------------------------------------------------------
                 * Constants
                 * ------------------------------------------------------------------------
            Severity: Major
            Found in public/js/bootstrap.js - About 2 days to fix

              Function DataTable has 495 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  var DataTable = function ( options )
                  {
                      /**
                       * Perform a jQuery selector action on the table's TR elements (from the tbody) and
                       * return the resulting jQuery object.
              Severity: Major
              Found in public/js/jquery.dataTables.js - About 2 days to fix

                Function Tooltip has 430 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function () {
                      function Tooltip(element, config) {
                        /**
                         * Check for Popper dependency
                         * Popper - https://popper.js.org
                Severity: Major
                Found in public/js/bootstrap.js - About 2 days to fix

                  Function Modal has 418 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    var Modal = function ($$$1) {
                      /**
                       * ------------------------------------------------------------------------
                       * Constants
                       * ------------------------------------------------------------------------
                  Severity: Major
                  Found in public/js/bootstrap.js - About 2 days to fix

                    Function Carousel has 366 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      var Carousel = function ($$$1) {
                        /**
                         * ------------------------------------------------------------------------
                         * Constants
                         * ------------------------------------------------------------------------
                    Severity: Major
                    Found in public/js/bootstrap.js - About 1 day to fix

                      Function Quiz has 340 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        function Quiz (quizConfig) {
                          quizConfig = $.extend({}, defaultQuizConfig, quizConfig || cachedConfig);
                          cachedConfig = quizConfig;
                          let view = $('#gvq-quiz .gvq-quiz-view');
                          let oldView = $('#gvq-quiz .gvq-quiz-old-view');
                      Severity: Major
                      Found in public/js/quiz.js - About 1 day to fix

                        Function Modal has 338 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            function () {
                              function Modal(element, config) {
                                this._config = this._getConfig(config);
                                this._element = element;
                                this._dialog = $$$1(element).find(Selector.DIALOG)[0];
                        Severity: Major
                        Found in public/js/bootstrap.js - About 1 day to fix

                          Function Dropdown has 330 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            var Dropdown = function ($$$1) {
                              /**
                               * ------------------------------------------------------------------------
                               * Constants
                               * ------------------------------------------------------------------------
                          Severity: Major
                          Found in public/js/bootstrap.js - About 1 day to fix

                            Function Carousel has 291 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function () {
                                  function Carousel(element, config) {
                                    this._items = null;
                                    this._interval = null;
                                    this._activeElement = null;
                            Severity: Major
                            Found in public/js/bootstrap.js - About 1 day to fix

                              Function Collapse has 254 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                var Collapse = function ($$$1) {
                                  /**
                                   * ------------------------------------------------------------------------
                                   * Constants
                                   * ------------------------------------------------------------------------
                              Severity: Major
                              Found in public/js/bootstrap.js - About 1 day to fix

                                Function ajax has 251 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    ajax: function( url, options ) {
                                
                                        // If url is an object, simulate pre-1.5 signature
                                        if ( typeof url === "object" ) {
                                            options = url;
                                Severity: Major
                                Found in public/js/jquery.js - About 1 day to fix

                                  Function Dropdown has 249 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function () {
                                        function Dropdown(element, config) {
                                          this._element = element;
                                          this._popper = null;
                                          this._config = this._getConfig(config);
                                  Severity: Major
                                  Found in public/js/bootstrap.js - About 1 day to fix

                                    Function setDocument has 245 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    setDocument = Sizzle.setDocument = function( node ) {
                                        var hasCompare, subWindow,
                                            doc = node ? node.ownerDocument || node : preferredDoc;
                                    
                                        // Return early if doc is invalid or already selected
                                    Severity: Major
                                    Found in public/js/jquery.js - About 1 day to fix

                                      Function ScrollSpy has 217 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        var ScrollSpy = function ($$$1) {
                                          /**
                                           * ------------------------------------------------------------------------
                                           * Constants
                                           * ------------------------------------------------------------------------
                                      Severity: Major
                                      Found in public/js/bootstrap.js - About 1 day to fix

                                        Function initPagination has 201 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            BootstrapTable.prototype.initPagination = function () {
                                                if (!this.options.pagination) {
                                                    this.$pagination.hide();
                                                    return;
                                                } else {
                                        Severity: Major
                                        Found in public/js/bootstrap-table.js - About 1 day to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language