WC_Integration_AgeChecker_Integration D

Total Complexity 352
Dependencies 5
Dependents 0
Total lines 2,202
Lines of code 1,977
Logical lines of code 813
Comment lines 25
Methods 54
Properties 0

Methods 54

Method Rating Maintainability Complexity Lines of code
generate_radio_html()
C
35 29 87
is_excluded()
C
36 27 76
generate_listbox_html()
B
34 20 94
print_script_beforepayment()
B
36 18 94
generate_ordered_listbox_html()
B
31 9 192
update_order_verification()
B
45 18 42
validate_order()
B
35 14 84
get_api_key()
A
44 16 41
init_form_fields()
A
26
1 241
get_status_wording()
A
42 11 53
generate_apikeys_listbox_html()
A
39 8 83
set_verified_role()
A
54 12 20
generate_selectbox_html()
A
44 10 45
add_script_afterpayment()
A
53 11 19
print_script_dw()
A
39 5 108
is_shipping_excluded()
A
48 10 30
handle_verification_v1()
A
45 9 38
print_script_afterpayment()
A
44 8 49
validate_order_blocks()
A
53 9 24
add_script_head()
A
58 9 14
__construct()
A
36 4 87
add_verified_notes()
A
57 8 16
is_payment_excluded()
S
57 7 16
is_before_excluded()
S
67 6 7
handle_callback_v1()
S
52 4 23
add_order_status_column_content()
S
57 4 18
add_script_footer()
S
67 5 7
product_name_from_value()
S
60 4 13
add_verification_status_order_page()
S
61 4 13
validate_min_total_field()
S
62 4 12
is_total_excluded()
S
62 4 11
generate_titled_text_html()
S
53 3 25
generate_settingshider_html()
S
60 1 54
validate_key_field()
S
60 3 14
add_order_status_column_header()
S
64 3 10
get_style()
S
59 2 14
validate_excluded_categories_field()
S
63 2 12
validate_category_apikeys_field()
S
63 2 12
validate_excluded_groups_field()
S
63 2 12
validate_excluded_shipping_field()
S
63 2 12
validate_set_status_blocked_field()
S
63 2 12
validate_set_status_disabled_field()
S
63 2 12
validate_set_status_denied_field()
S
63 2 12
validate_set_status_accepted_field()
S
63 2 12
validate_set_status_pending_field()
S
63 2 12
validate_set_customer_role_field()
S
63 2 12
validate_apikeys_list_field()
S
63 2 12
validate_excluded_payment_field()
S
63 2 12
establish_api()
S
57 1 20
add_order_status_column_style()
S
62 1 19
validate_order_shortcode()
S
71 2 6
new_order()
S
69 2 6
validate_titled_text_field()
S
75 1 4
initCors()
S
75 1 4