VSVverkeerskunde/gvq-api

View on GitHub

Showing 1,426 of 1,426 total issues

Function _slide has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      _proto._slide = function _slide(direction, element) {
        var _this3 = this;

        var activeElement = $$$1(this._element).find(Selector.ACTIVE_ITEM)[0];

Severity: Major
Found in public/js/bootstrap.js - About 2 hrs to fix

    Function loadedInit has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                var loadedInit = function () {
                    /*
                     * Sorting
                     * @todo For modularisation (1.11) this needs to do into a sort start up handler
                     */
    Severity: Major
    Found in public/js/jquery.dataTables.js - About 2 hrs to fix

      Function Button has 62 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

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

        Method execute has 61 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            protected function execute(
                InputInterface $input,
                OutputInterface $output
            ): void {
                $output->writeln('Start searching the event store...');
        Severity: Major
        Found in src/Command/ListCommand.php - About 2 hrs to fix

          Function _fnFeatureHtmlFilter has 60 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function _fnFeatureHtmlFilter ( settings )
              {
                  var classes = settings.oClasses;
                  var tableId = settings.sTableId;
                  var language = settings.oLanguage;
          Severity: Major
          Found in public/js/jquery.dataTables.js - About 2 hrs to fix

            Method contest has 60 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function contest(Request $request, string $quizId): Response
                {
                    try {
                        $quiz = $this->quizRepository->getById(Uuid::fromString($quizId));
            
            
            Severity: Major
            Found in src/Contest/Controllers/ContestViewController.php - About 2 hrs to fix

              Function ajaxConvert has 59 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function ajaxConvert( s, response, jqXHR, isSuccess ) {
                  var conv2, current, conv, tmp, prev,
                      converters = {},
              
                      // Work with a copy of dataTypes in case we need to modify it for conversion
              Severity: Major
              Found in public/js/jquery.js - About 2 hrs to fix

                Function run has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        var run = function ( s ) {
                            var selInt = _intVal( s );
                    
                            // Selector - all
                            if ( s === '' ) {
                Severity: Major
                Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                  Method dashboard has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public function dashboard(?string $companyId): Response
                      {
                          $activeCompany = $this->getCompany($companyId);
                          $companies = $this->getCompaniesForUser();
                  
                  
                  Severity: Major
                  Found in src/Dashboard/Controllers/DashboardViewController.php - About 2 hrs to fix

                    Function domManip has 58 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function domManip( collection, args, callback, ignored ) {
                    
                        // Flatten any nested arrays
                        args = concat.apply( [], args );
                    
                    
                    Severity: Major
                    Found in public/js/jquery.js - About 2 hrs to fix

                      Function initSearch has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          BootstrapTable.prototype.initSearch = function () {
                              var that = this;
                      
                              if (this.options.sidePagination !== 'server') {
                                  if (this.options.customSearch !== $.noop) {
                      Severity: Major
                      Found in public/js/bootstrap-table.js - About 2 hrs to fix

                        Function __cell_selector has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            var __cell_selector = function ( settings, selector, opts )
                            {
                                var data = settings.aoData;
                                var rows = _selector_row_indexes( settings, opts );
                                var cells = _removeEmpty( _pluck_order( data, rows, 'anCells' ) );
                        Severity: Major
                        Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                          Function controller has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                  controller: function (quizId, questionNr) {
                                    let deferredRender = $.Deferred();
                                    let counterInterval;
                          
                                    function startCountdown () {
                          Severity: Major
                          Found in public/js/quiz.js - About 2 hrs to fix

                            Method sendActivation has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function sendActivation(Request $request, string $id): Response
                                {
                                    $user = $this->userRepository->getById(Uuid::fromString($id));
                            
                                    if (!$user) {
                            Severity: Major
                            Found in src/Account/Controllers/AccountViewController.php - About 2 hrs to fix

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

                                  init = jQuery.fn.init = function( selector, context, root ) {
                                      var match, elem;
                              
                                      // HANDLE: $(""), $(null), $(undefined), $(false)
                                      if ( !selector ) {
                              Severity: Major
                              Found in public/js/jquery.js - About 2 hrs to fix

                                Function _fnPageChange has 54 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    function _fnPageChange ( settings, action, redraw )
                                    {
                                        var
                                            start     = settings._iDisplayStart,
                                            len       = settings._iDisplayLength,
                                Severity: Major
                                Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                                  Function iterator has 54 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          iterator: function ( flatten, type, fn, alwaysNew ) {
                                              var
                                                  a = [], ret,
                                                  i, ien, j, jen,
                                                  context = this.context,
                                  Severity: Major
                                  Found in public/js/jquery.dataTables.js - About 2 hrs to fix

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

                                        public function buildForm(FormBuilderInterface $builder, array $options)
                                        {
                                            $this->user = $options['user'];
                                            $this->translator = $options['translator'];
                                    
                                    
                                    Severity: Major
                                    Found in src/User/Forms/EditContactFormType.php - About 2 hrs to fix

                                      Function _fnSortListener has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function _fnSortListener ( settings, colIdx, append, callback )
                                          {
                                              var col = settings.aoColumns[ colIdx ];
                                              var sorting = settings.aaSorting;
                                              var asSorting = col.asSorting;
                                      Severity: Major
                                      Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                                        Function _showBackdrop has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                              _proto._showBackdrop = function _showBackdrop(callback) {
                                                var _this8 = this;
                                        
                                                var animate = $$$1(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
                                        
                                        
                                        Severity: Major
                                        Found in public/js/bootstrap.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language