Pinterest_For_Woocommerce D

Total Complexity 145
Dependencies 40
Dependents 1
Total lines 1,321
Lines of code 557
Logical lines of code 324
Comment lines 500
Methods 56
Properties 6

Methods 56

Method Rating Maintainability Complexity Lines of code
check_plugin_requirements()
A
45 10 40
disconnect()
A
47 9 35
maybe_disconnect_advertiser()
A
54 10 20
update_linked_businesses()
S
55 7 18
is_request()
S
61 7 12
get_settings()
S
66 6 7
check_if_coupon_was_redeemed()
S
61 5 12
get_middleware_url()
S
51 4 25
verification_request()
S
54 4 22
init_plugin()
S
47 3 35
maybe_check_billing_setup()
S
63 5 10
update_account_data()
S
50 3 29
get_linked_businesses()
S
58 3 16
add_currency_credits_info_to_account_data()
S
64 3 10
get_applicable_tos()
S
74 3 4
get_token()
S
62 3 10
get_base_country()
S
68 3 7
is_setup_complete()
S
78 3 3
is_business_connected()
S
67 3 7
includes()
S
67 3 9
add_redeem_credits_info_to_account_data()
S
52 1 26
is_domain_verified()
S
73 2 4
add_available_credits_info_to_account_data()
S
65 2 9
is_connected()
S
74 2 4
maybe_inject_verification_code()
S
70 2 6
get_account_id()
S
74 2 4
instance()
S
70 2 7
save_token()
S
73 2 4
save_data()
S
66 2 8
maybe_init_plugin()
S
63 2 10
get_setting()
S
74 2 4
save_setting()
S
67 2 8
add_onboarding_task()
S
66 2 10
init_api_endpoints()
S
59 1 15
define_constants()
S
67 1 14
admin_init()
S
62 1 11
remove_data()
S
72 1 5
maybe_update_plugin()
S
76 1 4
__wakeup()
S
78 1 3
flush_options()
S
66 1 8
is_tracking_configured()
S
78 1 3
init()
S
74 1 5
init_marketing_notifications()
S
77 1 4
check_available_coupons_and_credits()
S
82 1 3
load_plugin_textdomain()
S
70 1 5
set_default_settings()
S
72 1 5
get_data()
S
74 1 4
plugin_url()
S
79 1 3
plugin_path()
S
80 1 3
__clone()
S
78 1 3
ajax_url()
S
79 1 3
get_connection_proxy_url()
S
78 1 3
get_billing_setup_info_from_account_data()
S
75 1 4
save_settings()
S
74 1 4
add_billing_setup_info_to_account_data()
S
68 1 7
template_path()
S
79 1 3