Alma_WC_Plugin B

Total Complexity 98
Dependencies 19
Dependents 1
Total lines 835
Lines of code 448
Logical lines of code 226
Comment lines 265
Methods 40
Properties 6

Methods 40

Method Rating Maintainability Complexity Lines of code
check_dependencies()
A
52 8 25
check_merchant_status()
S
46 6 43
get_eligible_plans_for_cart()
S
56 5 19
woocommerce_gateway_description()
S
58 5 16
woocommerce_gateway_title()
S
58 5 16
bootstrap()
S
55 4 20
get_cart_eligibilities()
S
59 4 15
show_settings_warning()
S
55 3 23
init_alma_client()
S
56 3 18
get_payment_to_validate()
S
59 3 14
get_merchant()
S
64 3 11
run()
S
63 3 11
check_settings()
S
71 3 6
self_update()
S
64 3 10
ajax_dismiss_notice()
S
64 3 10
try_running()
S
51 1 28
force_check_settings()
S
61 2 13
check_activation()
S
61 2 12
check_credentials()
S
64 2 11
plugin_action_links()
S
65 2 8
get_fee_plans()
S
68 2 7
get_alma_dashboard_url()
S
70 2 6
wp_enqueue_scripts()
S
70 2 6
is_allowed_to_see_alma()
S
77 2 3
check_currency()
S
67 2 8
get_alma_client()
S
72 2 6
get_admin_setting_url()
S
70 2 7
alma_admin_enqueue_scripts()
S
61 1 15
handle_settings_exception()
S
63 2 10
init_widget_handlers()
S
69 1 7
is_there_eligibility_in_cart()
S
80 1 3
get_eligible_plans_keys_for_cart()
S
66 1 9
alma_domains_whitelist()
S
74 1 5
load_plugin_textdomain()
S
78 1 3
add_payment_gateway()
S
77 1 4
handle_ipn_callback()
S
73 1 5
handle_customer_return()
S
73 1 5
get_asset_url()
S
80 1 3
get_admin_logs_url()
S
80 1 3
__construct()
S
77 1 4