WCV_Vendors D

Total Complexity 182
Dependencies 10
Dependents 36
Total lines 1,275
Lines of code 746
Logical lines of code 400
Comment lines 323
Methods 39
Properties 0

Methods 39

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
39 15 66
order_query_args()
A
48 14 33
update_sub_order_status()
A
50 8 26
get_vendors_from_order()
A
47 7 39
get_vendor_id()
S
52 7 24
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 19
trash_sub_orders()
S
66 3 9
untrash_sub_orders()
S
64 3 10
delete_child_orders()
S
66 3 9
get_order_item_product_ids()
S
64 3 9
register_rest_fields()
S
56 1 22
is_vendor_product()
S
78 2 3
handle_trash_post()
S
71 2 6
add_rewrite_rules()
S
62 2 10
get_sub_orders()
S
59 1 15
handle_untrash_post()
S
71 2 6
handle_delete_post()
S
71 2 6
get_vendor_paypal()
S
71 2 5
get_vendor_products()
S
59 1 15
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
is_pending()
S
72 1 5
get_vendor_orders()
S
80 1 3
get_order_sub_orders()
S
64 1 10
create_child_orders_api()
S
80 1 3
cpt_order_query_vars()
S
79 1 3
get_default_commission()
S
78 1 3
get_vendor_ids_from_order()
S
79 1 3