Jetpack_Simple_Payments_Widget B

Total Complexity 77
Dependencies 5
Dependents 0
Total lines 593
Lines of code 351
Logical lines of code 155
Comment lines 143
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
ajax_save_payment_button()
A
40 15 59
validate_ajax_params()
A
51 11 22
ajax_delete_payment_button()
S
50 7 26
widget()
S
50 7 26
update()
S
47 5 36
__construct()
S
52 5 24
ajax_get_payment_buttons()
S
53 5 22
form()
S
55 3 20
get_product_from_post()
S
55 3 19
get_decimal_places()
S
67 3 7
record_event()
S
59 2 14
get_first_product_id()
S
62 2 11
defaults()
S
57 1 18
admin_enqueue_scripts()
S
59 1 17
get_latest_field_value()
S
72 2 5
format_product_post_for_ajax_reponse()
S
72 1 6
admin_enqueue_styles()
S
69 1 8
hide_simple_payment_widget()
S
77 1 4
enqueue_style()
S
78 1 3
filter_nonces()
S
76 1 4