KumbiaPHP/KumbiaPHP

View on GitHub
core/extensions/helpers/ajax.php

Summary

Maintainability
B
5 hrs
Test Coverage

Method dbSelect has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static function dbSelect($field, $show, $data, $update, $action, $blank=null, $class = '', $attrs = '')
Severity: Major
Found in core/extensions/helpers/ajax.php - About 1 hr to fix

    Method linkConfirm has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static function linkConfirm($action, $text, $update, $confirm, $class = '', $attrs = '')
    Severity: Minor
    Found in core/extensions/helpers/ajax.php - About 45 mins to fix

      Method select has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public static function select($field, $data, $update, $action, $class = '', $attrs = '')
      Severity: Minor
      Found in core/extensions/helpers/ajax.php - About 45 mins to fix

        Method linkActionConfirm has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static function linkActionConfirm($action, $text, $update, $confirm, $class = '', $attrs = '')
        Severity: Minor
        Found in core/extensions/helpers/ajax.php - About 45 mins to fix

          Method linkAction has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public static function linkAction($action, $text, $update, $class = '', $attrs = '')
          Severity: Minor
          Found in core/extensions/helpers/ajax.php - About 35 mins to fix

            Method form has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public static function form($update, $action = '', $class = '', $method = 'post', $attrs = '')
            Severity: Minor
            Found in core/extensions/helpers/ajax.php - About 35 mins to fix

              Method link has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public static function link($action, $text, $update, $class = '', $attrs = '')
              Severity: Minor
              Found in core/extensions/helpers/ajax.php - About 35 mins to fix

                There are no issues that match your filters.

                Category
                Status