WCV_Vendors D

Total Complexity 215
Dependencies 11
Dependents 40
Total lines 1,486
Lines of code 868
Logical lines of code 472
Comment lines 379
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
get_vendor_dues_from_order()
D
29 37 115
create_vendor_order()
C
29 21 128
create_child_orders()
B
36 18 80
order_query_args()
A
46 14 40
get_vendors_from_order()
A
45 9 44
update_sub_order_status()
A
51 8 26
get_vendor_id()
S
52 7 24
add_filters_to_prevent_email_sending()
S
51 6 25
get_vendor_sold_by()
S
54 5 22
is_vendor()
S
55 5 20
get_vendor_from_product()
S
55 5 19
get_vendor_shop_details()
S
58 5 15
update_vendor_date_meta()
S
60 5 14
is_vendor_page()
S
62 5 11
find_parent_id_from_order()
S
58 4 16
get_vendor_shop_page()
S
58 4 14
get_vendor_shop_name()
S
66 4 7
admin_create_child_orders()
S
63 4 10
disable_emails_for_sub_orders()
S
61 3 13
remove_vendor_date_meta()
S
63 3 12
__construct()
S
52 2 22
get_sub_orders()
S
57 2 18
delete_child_orders()
S
66 3 9
trash_sub_orders()
S
66 3 9
get_order_item_product_ids()
S
64 3 9
untrash_sub_orders()
S
64 3 10
get_order_sub_orders()
S
61 2 13
register_rest_fields()
S
56 1 22
is_pending()
S
66 2 8
is_vendor_product()
S
78 2 3
is_vendor_product_page()
S
74 2 4
add_rewrite_rules()
S
62 2 10
get_vendor_products()
S
59 1 15
get_vendor_paypal()
S
71 2 5
handle_untrash_post()
S
71 2 6
handle_trash_post()
S
71 2 6
handle_delete_post()
S
71 2 6
count_due_by_vendor()
S
62 1 12
get_due_orders_by_vendor()
S
63 1 11
cpt_order_query_vars()
S
79 1 3
get_vendor_orders()
S
80 1 3
get_default_commission()
S
78 1 3
get_vendor_ids_from_order()
S
79 1 3
create_child_orders_api()
S
80 1 3