woothemes/woocommerce

View on GitHub
includes/admin/settings/class-wc-settings-general.php

Summary

Maintainability
C
1 day
Test Coverage

Method get_settings has 233 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function get_settings() {

        $currency_code_options = get_woocommerce_currencies();

        foreach ( $currency_code_options as $code => $name ) {
Severity: Major
Found in includes/admin/settings/class-wc-settings-general.php - About 1 day to fix

    File class-wc-settings-general.php has 261 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * WooCommerce General Settings
     *
     * @package WooCommerce\Admin
    Severity: Minor
    Found in includes/admin/settings/class-wc-settings-general.php - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status