WC_Integration_AgeChecker_Integration D

Total Complexity 215
Dependencies 5
Dependents 0
Total lines 1,572
Lines of code 1,409
Logical lines of code 557
Comment lines 17
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
generate_radio_html()
C
36 25 80
is_excluded()
C
37 25 70
generate_listbox_html()
B
37 15 81
generate_ordered_listbox_html()
B
31 7 192
get_api_key()
A
45 15 38
validate_order()
A
36 11 79
get_status_wording()
A
42 11 51
set_verified_role()
A
54 12 20
generate_apikeys_listbox_html()
A
39 8 80
handle_verification_v1()
A
45 9 38
init_form_fields()
A
32 1 152
is_shipping_excluded()
A
49 9 28
print_script_dw()
A
40 4 103
add_verified_notes()
A
56 8 17
generate_selectbox_html()
S
48 6 35
__construct()
S
40 3 65
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
update_order_verification()
S
60 4 13
generate_settingshider_html()
S
60 1 52
validate_key_field()
S
61 3 13
add_script_afterpayment()
S
68 3 7
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
initCors()
S
75 1 4