WC_Integration_AgeChecker_Integration D

Total Complexity 190
Dependencies 5
Dependents 0
Total lines 1,355
Lines of code 1,211
Logical lines of code 506
Comment lines 8
Methods 32
Properties 0

Methods 32

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