Code Analysis: Age Verification for eCommerce 1.7.3

Function Rating Maintainability Complexity Lines of code
WC_Integration_AgeChecker_Integration::generate_radio_html()
C
36 25 80
WC_Integration_AgeChecker_Integration::is_excluded()
C
37 25 70
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::validate_order()
A
36 11 79
WC_Integration_AgeChecker_Integration::get_status_wording()
A
42 11 51
WC_Integration_AgeChecker_Integration::set_verified_role()
A
54 12 20
WC_Integration_AgeChecker_Integration::generate_apikeys_listbox_html()
A
39 8 80
WC_Integration_AgeChecker_Integration::handle_verification_v1()
A
45 9 38
WC_Integration_AgeChecker_Integration::init_form_fields()
A
32 1 152
WC_Integration_AgeChecker_Integration::print_script_dw()
A
40 4 103
WC_Integration_AgeChecker_Integration::is_shipping_excluded()
A
49 9 28
WC_Integration_AgeChecker_Integration::add_verified_notes()
A
56 8 17
WC_Integration_AgeChecker_Integration::generate_selectbox_html()
S
48 6 35
WC_Integration_AgeChecker_Integration::__construct()
S
40 3 65
WC_Integration_AgeChecker_Integration::print_script_beforepayment()
S
52 4 32
WC_Integration_AgeChecker_Integration::handle_callback_v1()
S
52 4 23
WC_Integration_AgeChecker_Integration::print_script_afterpayment()
S
49 3 37
WC_Integration_AgeChecker_Integration::add_script_footer()
S
67 5 7
WC_Integration_AgeChecker_Integration::add_script_head()
S
69 5 6
WC_Integration_AgeChecker_Integration::update_order_verification()
S
60 4 13
WC_Integration_AgeChecker_Integration::generate_settingshider_html()
S
60 1 52
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::validate_excluded_categories_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_set_customer_role_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_excluded_groups_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_excluded_shipping_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_apikeys_list_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::validate_category_apikeys_field()
S
65 2 11
WC_Integration_AgeChecker_Integration::establish_api()
S
57 1 20
WC_Integration_AgeChecker::plugin_action_links()
S
67 2 8
WC_Integration_AgeChecker::init()
S
66 2 9
WC_Integration_AgeChecker::add_integration()
S
77 1 4
WC_Integration_AgeChecker::__construct()
S
69 1 7
WC_Integration_AgeChecker_Integration::initCors()
S
75 1 4