Code Analysis: Pay For Post with WooCommerce 3.0.10

Most Complex Functions

Function Rating Complexity
Woocommerce_Pay_Per_Post_Shortcodes::process_shortcode()
A
13
PRAMADILLO\Woocommerce_Pay_Per_Post_Restrict_Content::show_content()
A
10
PRAMADILLO\INTEGRATIONS\Elementor::has_access()
A
9
PRAMADILLO\Woocommerce_Pay_Per_Post_Restrict_Content::can_user_view_content()
A
10
Woocommerce_Pay_Per_Post_Public::restrict_content()
A
9
PRAMADILLO\Woocommerce_Pay_Per_Post_Restrict_Content::check_if_purchased()
A
8
PRAMADILLO\INTEGRATIONS\Elementor::controls()
A
4
Woocommerce_Pay_Per_Post_Admin::meta_box()
A
7
Woocommerce_Pay_Per_Post_Admin::create_protected_content_page()
S
7
Woocommerce_Pay_Per_Post_Helper::get_posts_associated_with_product_id()
S
6
Woocommerce_Pay_Per_Post_Helper::get_protected_posts()
S
6
Woocommerce_Pay_Per_Post_Admin::create_options_page()
S
6