WCV_Vendors D

Total Complexity 191
Dependencies 10
Dependents 37
Total lines 1,365
Lines of code 791
Logical lines of code 417
Comment lines 354
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
get_vendor_dues_from_order()
D
30 35 111
create_vendor_order()
C
29 21 128
create_child_orders()
B
38 15 69
order_query_args()
A
46 14 40
get_vendors_from_order()
A
47 7 39
update_sub_order_status()
A
53 8 22
get_vendor_id()
S
52 7 24
add_filters_to_prevent_email_sending()
S
51 6 25
is_vendor()
S
55 5 20
get_vendor_from_product()
S
55 5 19
is_vendor_page()
S
62 5 11
get_vendor_sold_by()
S
56 4 19
find_parent_id_from_order()
S
58 4 16
get_vendor_shop_page()
S
58 4 14
get_vendor_shop_details()
S
60 4 12
get_vendor_shop_name()
S
66 4 7
__construct()
S
54 2 20
untrash_sub_orders()
S
64 3 10
trash_sub_orders()
S
66 3 9
delete_child_orders()
S
66 3 9
get_order_item_product_ids()
S
64 3 9
register_rest_fields()
S
56 1 22
is_pending()
S
66 2 8
handle_trash_post()
S
71 2 6
add_rewrite_rules()
S
62 2 10
disable_emails_for_sub_orders()
S
65 2 10
get_sub_orders()
S
59 1 15
handle_untrash_post()
S
71 2 6
handle_delete_post()
S
71 2 6
is_vendor_product()
S
78 2 3
get_vendor_products()
S
59 1 15
get_vendor_paypal()
S
71 2 5
is_vendor_product_page()
S
74 2 4
count_due_by_vendor()
S
62 1 12
get_due_orders_by_vendor()
S
63 1 11
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
get_order_sub_orders()
S
64 1 10
cpt_order_query_vars()
S
79 1 3