awsmug/torro-forms

View on GitHub
src/modules/form-settings/module.php

Summary

Maintainability
B
6 hrs
Test Coverage

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

    protected function get_meta_fields() {
        $prefix = $this->manager()->get_prefix();

        $fields = array(
            'show_container_title'  => array(
Severity: Major
Found in src/modules/form-settings/module.php - About 2 hrs to fix

    Module has 21 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class Module extends Module_Base {
    
        /**
         * Bootstraps the module by setting properties.
         *
    Severity: Minor
    Found in src/modules/form-settings/module.php - About 2 hrs to fix

      Method setup_hooks has 44 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function setup_hooks() {
              parent::setup_hooks();
      
              $prefix = $this->get_prefix();
      
      
      Severity: Minor
      Found in src/modules/form-settings/module.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status