woothemes/woocommerce

View on GitHub
includes/class-wc-product-query.php

Summary

Maintainability
A
1 hr
Test Coverage

Method get_default_query_vars has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function get_default_query_vars() {
        return array_merge(
            parent::get_default_query_vars(),
            array(
                'status'            => array( 'draft', 'pending', 'private', 'publish' ),
Severity: Minor
Found in includes/class-wc-product-query.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status