WC_Integration_AgeChecker_Integration D

Total Complexity 304
Dependencies 5
Dependents 0
Total lines 1,993
Lines of code 1,788
Logical lines of code 717
Comment lines 21
Methods 47
Properties 0

Methods 47

Method Rating Maintainability Complexity Lines of code
is_excluded()
C
37 27 70
generate_radio_html()
C
36 25 80
generate_listbox_html()
B
35 19 86
generate_ordered_listbox_html()
B
31 9 192
update_order_verification()
B
45 18 42
print_script_beforepayment()
A
40 14 74
get_api_key()
A
44 16 41
validate_order()
A
36 13 79
init_form_fields()
A
27
1 214
get_status_wording()
A
42 11 53
set_verified_role()
A
54 12 20
generate_apikeys_listbox_html()
A
39 8 80
print_script_dw()
A
39 5 108
generate_selectbox_html()
A
44 9 45
handle_verification_v1()
A
45 9 38
print_script_afterpayment()
A
44 8 49
is_shipping_excluded()
A
49 9 28
add_script_afterpayment()
A
57 9 14
__construct()
A
37 4 79
add_verified_notes()
A
56 8 17
is_payment_excluded()
S
59 6 14
handle_callback_v1()
S
52 4 23
add_script_footer()
S
67 5 7
add_script_head()
S
69 5 6
validate_min_total_field()
S
62 4 12
is_total_excluded()
S
62 4 11
generate_settingshider_html()
S
60 1 53
add_order_status_column_content()
S
58 3 16
validate_key_field()
S
60 3 14
add_verification_status_order_page()
S
62 3 12
add_order_status_column_header()
S
64 3 10
get_style()
S
59 2 14
validate_category_apikeys_field()
S
63 2 12
validate_set_status_pending_field()
S
63 2 12
validate_set_status_accepted_field()
S
63 2 12
validate_set_status_blocked_field()
S
63 2 12
validate_set_status_denied_field()
S
63 2 12
validate_excluded_categories_field()
S
63 2 12
validate_excluded_groups_field()
S
63 2 12
validate_apikeys_list_field()
S
63 2 12
validate_set_status_disabled_field()
S
63 2 12
validate_excluded_shipping_field()
S
63 2 12
validate_excluded_payment_field()
S
63 2 12
validate_set_customer_role_field()
S
63 2 12
establish_api()
S
57 1 20
add_order_status_column_style()
S
62 1 19
initCors()
S
75 1 4