Code Analysis: Age Verification for eCommerce 1.6.2

Function Rating Maintainability Complexity Lines of code
WC_Integration_AgeChecker_Integration::is_excluded()
C
37 25 70
WC_Integration_AgeChecker_Integration::generate_radio_html()
B
39 19 68
WC_Integration_AgeChecker_Integration::generate_listbox_html()
B
37 15 81
WC_Integration_AgeChecker_Integration::generate_ordered_listbox_html()
B
31 7 192
WC_Integration_AgeChecker_Integration::get_api_key()
A
45 15 38
WC_Integration_AgeChecker_Integration::get_status_wording()
A
42 11 51
WC_Integration_AgeChecker_Integration::generate_apikeys_listbox_html()
A
39 8 80
WC_Integration_AgeChecker_Integration::validate_order()
A
45 10 38
WC_Integration_AgeChecker_Integration::handle_verification_v1()
A
45 9 38
WC_Integration_AgeChecker_Integration::is_shipping_excluded()
A
49 9 28
WC_Integration_AgeChecker_Integration::init_form_fields()
A
33 1 139
WC_Integration_AgeChecker_Integration::generate_selectbox_html()
S
48 6 35
WC_Integration_AgeChecker_Integration::add_verified_notes()
S
59 7 13
WC_Integration_AgeChecker_Integration::__construct()
S
40 3 63
WC_Integration_AgeChecker_Integration::handle_callback_v1()
S
52 4 23
WC_Integration_AgeChecker_Integration::print_script_beforepayment()
S
53 3 31
WC_Integration_AgeChecker_Integration::add_script_head()
S
69 5 6
WC_Integration_AgeChecker_Integration::add_script_footer()
S
69 5 6
WC_Integration_AgeChecker_Integration::generate_settingshider_html()
S
60 1 52
WC_Integration_AgeChecker_Integration::print_script_afterpayment()
S
50 2 36
WC_Integration_AgeChecker_Integration::validate_key_field()
S
61 3 13
WC_Integration_AgeChecker_Integration::add_script_afterpayment()
S
68 3 7
WC_Integration_AgeChecker_Integration::set_verified_role()
S
73 3 5
WC_Integration_AgeChecker_Integration::validate_set_customer_role_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_excluded_shipping_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_category_apikeys_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_excluded_groups_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_excluded_categories_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_apikeys_list_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::establish_api()
S
57 1 20
WC_Integration_AgeChecker::init()
S
66 2 9
WC_Integration_AgeChecker::plugin_action_links()
S
67 2 8
WC_Integration_AgeChecker_Integration::update_order_verification()
S
63 2 10
WC_Integration_AgeChecker::add_integration()
S
77 1 4
WC_Integration_AgeChecker_Integration::initCors()
S
75 1 4
WC_Integration_AgeChecker::__construct()
S
69 1 7