MPTBM_Woocommerce D

Total Complexity 277
Dependencies 6
Dependents 0
Total lines 1,105
Lines of code 960
Logical lines of code 597
Comment lines 74
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
checkout_create_order_line_item()
D
24
39 146
render_custom_checkout_fields()
D
31 42 77
show_cart_item()
D
26
33 163
checkout_order_processed()
D
28
31 122
add_cart_item_data()
B
40 20 50
get_cart_total_price()
A
48 15 27
mptbm_add_to_cart()
A
47 12 33
order_status_changed()
A
59 11 12
display_custom_fields_in_admin_order()
A
49 9 26
validate_custom_checkout_fields()
A
53 9 21
add_custom_fields_to_email()
A
50 8 25
cart_extra_service_info()
A
53 8 20
save_custom_checkout_fields()
S
57 7 15
before_calculate_totals()
S
56 6 18
wc_order_status_change()
S
46 3 50
ajax_file_upload()
S
53 5 20
add_cpt_data()
S
54 4 20
enqueue_checkout_fields_js()
S
52 1 59
after_checkout_validation()
S
63 4 10
filter_order_item_quantity()
S
67 3 7
get_item_data()
S
62 3 10
cart_item_thumbnail()
S
66 3 7
__construct()
S
52 1 22