VSVverkeerskunde/gvq-api

View on GitHub

Showing 428 of 1,426 total issues

Function send has 77 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            send: function( headers, complete ) {
                var i,
                    xhr = options.xhr();

                xhr.open(
Severity: Major
Found in public/js/jquery.js - About 3 hrs to fix

    Function _fnSetObjectDataFn has 77 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function _fnSetObjectDataFn( mSource )
        {
            if ( $.isPlainObject( mSource ) )
            {
                /* Unlike get, only the underscore (global) option is used for for
    Severity: Major
    Found in public/js/jquery.dataTables.js - About 3 hrs to fix

      Function initTable has 77 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          BootstrapTable.prototype.initTable = function () {
              var that = this,
                  columns = [],
                  data = [];
      
      
      Severity: Major
      Found in public/js/bootstrap-table.js - About 3 hrs to fix

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

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

          Consider simplifying this complex logical expression.
          Open

                      if (column.checkbox || column.radio) {
                          type = column.checkbox ? 'checkbox' : type;
                          type = column.radio ? 'radio' : type;
          
                          text = [sprintf(that.options.cardView ?
          Severity: Critical
          Found in public/js/bootstrap-table.js - About 3 hrs to fix

            Function show has 75 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                  _proto.show = function show() {
                    var _this = this;
            
                    if ($$$1(this.element).css('display') === 'none') {
                      throw new Error('Please use show on visible elements');
            Severity: Major
            Found in public/js/bootstrap.js - About 3 hrs to fix

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

                  protected function execute(InputInterface $input, OutputInterface $output): void
                  {
                      $firstId = $input->getOption('first-id');
                      if (null !== $firstId) {
                          $firstId = (int) $firstId;
              Severity: Major
              Found in src/Command/ReplayCommand.php - About 3 hrs to fix

                Function _fnGetRowElements has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function _fnGetRowElements( settings, row, colIdx, d )
                    {
                        var
                            tds = [],
                            td = row.firstChild,
                Severity: Major
                Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                  Function matcherFromGroupMatchers has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                      var bySet = setMatchers.length > 0,
                          byElement = elementMatchers.length > 0,
                          superMatcher = function( seed, context, xml, results, outermost ) {
                              var elem, j, matcher,
                  Severity: Major
                  Found in public/js/jquery.js - About 2 hrs to fix

                    Function add has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        add: function( elem, types, handler, data, selector ) {
                    
                            var handleObjIn, eventHandle, tmp,
                                events, t, handleObj,
                                special, handlers, type, namespaces, origType,
                    Severity: Major
                    Found in public/js/jquery.js - About 2 hrs to fix

                      Function _fnAjaxParameters has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          function _fnAjaxParameters( settings )
                          {
                              var
                                  columns = settings.aoColumns,
                                  columnCount = columns.length,
                      Severity: Major
                      Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                        File QuestionFormType.php has 286 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        <?php declare(strict_types=1);
                        
                        namespace VSV\GVQ_API\Question\Forms;
                        
                        use Ramsey\Uuid\UuidFactoryInterface;
                        Severity: Minor
                        Found in src/Question/Forms/QuestionFormType.php - About 2 hrs to fix

                          Function _fnSort has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function _fnSort ( oSettings )
                              {
                                  var
                                      i, ien, iLen, j, jLen, k, kLen,
                                      sDataType, nTh,
                          Severity: Major
                          Found in public/js/jquery.dataTables.js - About 2 hrs to fix

                            Function attach has 71 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                var attach = function( container, buttons ) {
                                    var i, ien, node, button;
                                    var clickHandler = function ( e ) {
                                        e.preventDefault();
                                        if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
                            Severity: Major
                            Found in public/js/dataTables.bootstrap4.js - About 2 hrs to fix

                              AccountViewController has 25 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              class AccountViewController extends AbstractController
                              {
                                  /**
                                   * @var RegistrationFormType
                                   */
                              Severity: Minor
                              Found in src/Account/Controllers/AccountViewController.php - About 2 hrs to fix

                                Function resolve has 69 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                                    function resolve( depth, deferred, handler, special ) {
                                                        return function() {
                                                            var that = this,
                                                                args = arguments,
                                                                mightThrow = function() {
                                Severity: Major
                                Found in public/js/jquery.js - About 2 hrs to fix

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

                                      BootstrapTable.prototype.initSort = function () {
                                          var that = this,
                                              name = this.options.sortName,
                                              order = this.options.sortOrder === 'desc' ? -1 : 1,
                                              index = $.inArray(this.options.sortName, this.header.fields),
                                  Severity: Major
                                  Found in public/js/bootstrap-table.js - About 2 hrs to fix

                                    Function done has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            function done( status, nativeStatusText, responses, headers ) {
                                                var isSuccess, success, error, response, modified,
                                                    statusText = nativeStatusText;
                                    
                                                // Ignore repeat invocations
                                    Severity: Major
                                    Found in public/js/jquery.js - About 2 hrs to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                                              if ( forward && useCache ) {
                                      
                                                                  // Seek `elem` from a previously-cached index
                                      
                                                                  // ...in a gzip-friendly way
                                      Severity: Critical
                                      Found in public/js/jquery.js - About 2 hrs to fix

                                        Function setMatcher has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                                            if ( postFilter && !postFilter[ expando ] ) {
                                                postFilter = setMatcher( postFilter );
                                            }
                                            if ( postFinder && !postFinder[ expando ] ) {
                                        Severity: Major
                                        Found in public/js/jquery.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language