woothemes/woocommerce

View on GitHub
includes/admin/helper/class-wc-helper-plugin-info.php

Summary

Maintainability
A
1 hr
Test Coverage

Method plugins_api has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function plugins_api( $response, $action, $args ) {
        if ( 'plugin_information' !== $action ) {
            return $response;
        }

Severity: Minor
Found in includes/admin/helper/class-wc-helper-plugin-info.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

            return $response;
    Severity: Major
    Found in includes/admin/helper/class-wc-helper-plugin-info.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status