woothemes/woocommerce

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

Summary

Maintainability
A
2 hrs
Test Coverage

Method get_default_query_vars has 51 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_keys( wc_get_order_statuses() ),
Severity: Major
Found in includes/class-wc-order-query.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status