NMGR_Order D

Total Complexity 173
Dependencies 1
Dependents 1
Total lines 929
Lines of code 567
Logical lines of code 313
Comment lines 244
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
add_to_cart()
A
45 13 36
format_item_data()
A
47 13 34
get_posted_variations()
A
45 12 40
add_meta_data()
A
46 11 38
validate_product_is_wishlist_item_cart_quantity()
A
47 11 34
get_add_to_cart_item_data()
A
52 11 23
notify_if_cart_has_wishlist()
A
51 10 27
validate_wishlist_item_cart_quantity()
A
47 9 36
process_wishlist_item_payment()
A
51 9 27
show_wishlist_item_cart_item_data()
A
50 8 28
notify_wishlist_shipping()
A
50 8 27
show_custom_order_notice()
S
59 8 11
update_wishlist_item_purchased_quantity()
S
48 6 31
maybe_add_wishlist_item_to_cart()
S
54 6 20
check_cart_items_for_shipping_address()
S
54 6 19
add_to_cart_from_product_page()
S
49 3 36
sync_order_wishlists_metabox()
S
58 4 14
add_wishlist_item_cart_item_data()
S
63 4 10
show_custom_order_notice_in_email()
S
68 4 6
continue_shopping_redirect()
S
66 3 8
maybe_update_cart_item_quantity()
S
66 3 8
add_order_item_meta()
S
64 3 10
run()
S
52 1 23
manually_update_order_wishlist_data()
S
72 2 5
add_add_to_cart_item_ref_data()
S
69 2 7
do_process_wishlist_item_payment()
S
80 1 3
process_payment_for_deleted_refunds()
S
80 1 3
add_wishlist_data_as_order_meta_data()
S
80 1 3