WC_Integration_AgeChecker_Integration D

Total Complexity 390
Dependencies 5
Dependents 0
Total lines 2,418
Lines of code 2,143
Logical lines of code 898
Comment lines 26
Methods 56
Properties 35

Methods 56

Method Rating Maintainability Complexity Lines of code
generate_radio_html()
D
31 38 105
is_excluded()
C
36 27 76
print_script_beforepayment()
B
33 19 121
generate_listbox_html()
B
34 20 94
print_script_afterpayment()
B
37 19 82
generate_selectbox_html()
B
38 18 68
generate_ordered_listbox_html()
B
31 9 192
get_api_key()
B
43 18 44
update_order_verification()
B
45 18 42
validate_order()
B
35 14 84
init_form_fields()
A
25
1 263
get_status_wording()
A
41 11 54
generate_apikeys_listbox_html()
A
38 8 87
set_verified_role()
A
54 12 20
__construct()
A
34 6 96
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
validate_order_blocks()
A
53 9 24
add_script_head()
A
58 9 14
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_workflow_type_field()
S
59 3 15
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_excluded_payment_field()
S
63 2 12
validate_excluded_groups_field()
S
63 2 12
validate_set_status_blocked_field()
S
63 2 12
validate_excluded_shipping_field()
S
63 2 12
validate_apikeys_list_field()
S
63 2 12
validate_set_customer_role_field()
S
63 2 12
validate_page_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_denied_field()
S
63 2 12
validate_set_status_disabled_field()
S
63 2 12
validate_category_apikeys_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
initCors()
S
75 1 4
validate_titled_text_field()
S
78 1 3