WC_GZD_Legal_Checkbox_Manager D

Total Complexity 245
Dependencies 4
Dependents 19
Total lines 1,382
Lines of code 971
Logical lines of code 400
Comment lines 207
Methods 39
Properties 4

Methods 39

Method Rating Maintainability Complexity Lines of code
update_show_conditionally()
D
22
63 153
register()
B
36 15 88
register_core_checkboxes()
B
26
5 217
filter()
A
46 16 36
show_conditionally_order()
A
44 14 41
render_checkbox_log()
A
43 13 47
get_checkboxes()
A
47 9 37
get_cart_product_data()
A
48 9 34
get_logged_value()
S
54 7 20
validate_reviews()
S
58 7 13
show_conditionally_checkout()
S
59 7 12
validate_checkout()
S
59 7 12
do_register_action()
S
57 5 16
validate_pay_for_order()
S
62 6 9
validate_register()
S
61 6 10
is_checked()
S
60 4 13
show_conditionally_reviews()
S
65 4 8
show_conditionally_register()
S
65 4 8
get_options()
S
67 4 7
maybe_hide_terms_checkbox()
S
65 4 8
__construct()
S
48 1 42
sort()
S
63 3 12
refresh_fragments_checkout()
S
58 2 17
render()
S
65 3 9
maybe_do_hooks()
S
67 3 8
get_product_category_ids()
S
65 3 9
show_conditionally_pay_for_order()
S
66 3 8
delete()
S
69 2 7
remove()
S
73 2 5
get_checkbox()
S
71 2 6
update()
S
69 2 7
get_editable_checkboxes()
S
67 2 8
instance()
S
72 2 6
get_locations()
S
63 1 11
update_options()
S
72 1 5
is_logged()
S
71 1 5
get_legal_label_args()
S
63 1 10
get_loggable_checkboxes()
S
75 1 4
get_core_checkbox_ids()
S
79 1 3