WC_Integration_AgeChecker_Integration D

Total Complexity 202
Dependencies 5
Dependents 0
Total lines 1,530
Lines of code 1,378
Logical lines of code 535
Comment lines 13
Methods 33
Properties 0

Methods 33

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