vint3creative/shortcodes-for-woocommerce

View on GitHub

Showing 2 of 12 total issues

Method featured_products_by_category has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function featured_products_by_category( $atts ) {

        if ( ! $this->is_woocommerce_active() ) {
            return;
        }
Severity: Major
Found in lib/Shortcode.php - About 2 hrs to fix

    Method subcategories_from_category has 54 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function subcategories_from_category( $atts ) {
    
            if ( ! $this->is_woocommerce_active() ) {
                return;
            }
    Severity: Major
    Found in lib/Shortcode.php - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language