gocodebox/lifterlms

View on GitHub
includes/admin/settings/class.llms.settings.engagements.php

Summary

Maintainability
C
7 hrs
Test Coverage
B
88%

Method get_settings_group_certs has 98 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function get_settings_group_certs() {

        $certificate_sizes = llms_get_certificate_sizes();

        $settings = array(
Severity: Major
Found in includes/admin/settings/class.llms.settings.engagements.php - About 3 hrs to fix

    File class.llms.settings.engagements.php has 252 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * Admin Settings Page: Engagements
     *
     * @package LifterLMS/Admin/Settings/Classes
    Severity: Minor
    Found in includes/admin/settings/class.llms.settings.engagements.php - About 2 hrs to fix

      Method get_settings_group_email has 35 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function get_settings_group_email() {
      
              return $this->generate_settings_group(
                  'email_options',
                  __( 'Email Settings', 'lifterlms' ),
      Severity: Minor
      Found in includes/admin/settings/class.llms.settings.engagements.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status