VSVverkeerskunde/gvq-api

View on GitHub

Showing 428 of 1,426 total issues

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

    function () {
      function Collapse(element, config) {
        this._isTransitioning = false;
        this._element = element;
        this._config = this._getConfig(config);
Severity: Major
Found in public/js/bootstrap.js - About 7 hrs to fix

    File AccountViewController.php has 485 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php declare(strict_types=1);
    
    namespace VSV\GVQ_API\Account\Controllers;
    
    use Ramsey\Uuid\Uuid;
    Severity: Minor
    Found in src/Account/Controllers/AccountViewController.php - About 7 hrs to fix

      Function Deferred has 178 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          Deferred: function( func ) {
              var tuples = [
      
                      // action, add listener, callbacks,
                      // ... .then handlers, argument index, [final state]
      Severity: Major
      Found in public/js/jquery.js - About 7 hrs to fix

        Function Tab has 169 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

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

          Function _fnScrollDraw has 165 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function _fnScrollDraw ( settings )
              {
                  // Given that this is such a monster function, a lot of variables are use
                  // to try and keep the minimised size as small as possible
                  var
          Severity: Major
          Found in public/js/jquery.dataTables.js - About 6 hrs to fix

            Function initRow has 161 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                BootstrapTable.prototype.initRow = function(item, i, data, parentDom) {
                    var that=this,
                        key,
                        html = [],
                        style = {},
            Severity: Major
            Found in public/js/bootstrap-table.js - About 6 hrs to fix

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

                  function () {
                    function ScrollSpy(element, config) {
                      var _this = this;
              
                      this._element = element;
              Severity: Major
              Found in public/js/bootstrap.js - About 6 hrs to fix

                File quiz.js has 430 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                (function (window, document, $) {
                  var logoOffsetCounter = 0;
                
                  let defaultQuizConfig = {
                    'channel': 'individual',
                Severity: Minor
                Found in public/js/quiz.js - About 6 hrs to fix

                  Function initToolbar has 152 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      BootstrapTable.prototype.initToolbar = function () {
                          var that = this,
                              html = [],
                              timeoutId = 0,
                              $keepOpen,
                  Severity: Major
                  Found in public/js/bootstrap-table.js - About 6 hrs to fix

                    Function initHeader has 141 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        BootstrapTable.prototype.initHeader = function () {
                            var that = this,
                                visibleColumns = {},
                                html = [];
                    
                    
                    Severity: Major
                    Found in public/js/bootstrap-table.js - About 5 hrs to fix

                      Method buildForm has 140 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function buildForm(FormBuilderInterface $builder, array $options)
                          {
                              /** @var TranslatorInterface $translator */
                              $translator = $options['translator'];
                      
                      
                      Severity: Major
                      Found in src/Account/Forms/RegistrationFormType.php - About 5 hrs to fix

                        Function Popover has 137 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

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

                          Function _fnCalculateColumnWidths has 136 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function _fnCalculateColumnWidths ( oSettings )
                              {
                                  var
                                      table = oSettings.nTable,
                                      columns = oSettings.aoColumns,
                          Severity: Major
                          Found in public/js/jquery.dataTables.js - About 5 hrs to fix

                            Function initBody has 133 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                BootstrapTable.prototype.initBody = function (fixedScroll) {
                                    var that = this,
                                        html = [],
                                        data = this.getData();
                            
                            
                            Severity: Major
                            Found in public/js/bootstrap-table.js - About 5 hrs to fix

                              Method buildForm has 133 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function buildForm(FormBuilderInterface $builder, array $options)
                                  {
                                      /** @var Category[] $categories */
                                      $categories = $options['categories']->toArray();
                                      /** @var Language[] $languages */
                              Severity: Major
                              Found in src/Question/Forms/QuestionFormType.php - About 5 hrs to fix

                                Function Tab has 126 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function () {
                                      function Tab(element) {
                                        this._element = element;
                                      } // Getters
                                
                                
                                Severity: Major
                                Found in public/js/bootstrap.js - About 5 hrs to fix

                                  Function defaultPrefilter has 122 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function defaultPrefilter( elem, props, opts ) {
                                      var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
                                          isBox = "width" in props || "height" in props,
                                          anim = this,
                                          orig = {},
                                  Severity: Major
                                  Found in public/js/jquery.js - About 4 hrs to fix

                                    Function Callbacks has 121 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 public/js/jquery.js - About 4 hrs to fix

                                      Function _fnAddOptionsHtml has 109 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function _fnAddOptionsHtml ( oSettings )
                                          {
                                              var classes = oSettings.oClasses;
                                              var table = $(oSettings.nTable);
                                              var holding = $('<div/>').insertBefore( table ); // Holding element for speed
                                      Severity: Major
                                      Found in public/js/jquery.dataTables.js - About 4 hrs to fix

                                        Function Alert has 106 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          var Alert = function ($$$1) {
                                            /**
                                             * ------------------------------------------------------------------------
                                             * Constants
                                             * ------------------------------------------------------------------------
                                        Severity: Major
                                        Found in public/js/bootstrap.js - About 4 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language