WC_GZD_Legal_Checkbox_Manager D

Total Complexity 172
Dependencies 2
Dependents 16
Total lines 1,001
Lines of code 679
Logical lines of code 290
Comment lines 150
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
show_conditionally_checkout()
D
30 38 118
show_conditionally_pay_for_order()
D
34 31 93
filter()
A
46 16 38
register()
A
40 12 65
register_core_checkboxes()
A
29 4 156
validate_reviews()
S
57 7 14
validate_checkout()
S
58 7 13
validate_register()
S
60 6 11
do_register_action()
S
57 5 16
validate_pay_for_order()
S
61 6 10
maybe_hide_terms_checkbox()
S
62 5 11
get_options()
S
67 4 7
get_checkboxes()
S
64 4 9
_uasort_callback()
S
70 3 6
render()
S
64 3 10
maybe_do_hooks()
S
67 3 8
refresh_fragments_checkout()
S
59 2 15
__construct()
S
56 1 18
update()
S
69 2 7
delete()
S
69 2 7
remove()
S
73 2 5
get_checkbox()
S
71 2 6
instance()
S
72 2 6
get_locations()
S
66 1 8
update_options()
S
72 1 5
get_legal_label_args()
S
63 1 10
get_core_checkbox_ids()
S
79 1 3
sort()
S
76 1 4