WCV_Vendor_Dashboard D

Total Complexity 204
Dependencies 8
Dependents 1
Total lines 1,436
Lines of code 891
Logical lines of code 488
Comment lines 321
Methods 37
Properties 6

Methods 37

Method Rating Maintainability Complexity Lines of code
create_nav()
C
30 24 123
load_page()
C
30 24 119
can_view_dashboard()
A
47 16 29
check_permission()
A
48 16 28
get_dashboard_pages()
A
35 11 90
maybe_load_application_form()
A
40 13 60
check_object_permission()
A
44 14 43
rewrite_rules()
A
42 12 51
generate_nav_item()
A
46 10 36
vendor_has_edit_product_cap()
S
54 7 23
lock_new_products_notice()
S
52 6 25
init_hooks()
S
50 4 27
page_disabled()
S
58 4 16
add_vendor_dashboard_item()
S
58 4 16
load_settings_page()
S
53 3 21
load_dashboard()
S
55 3 19
vendor_edit_post_link()
S
63 4 9
redirect_old_slug()
S
61 3 12
load_dashboard_nav()
S
63 3 11
add_vendor_dashboard_endpoint()
S
66 3 9
permission_denied()
S
53 1 23
filter_dashboard_page_title()
S
67 2 7
show_pending_vendor_notice()
S
59 1 15
update_disk_usage_status()
S
66 2 8
load_theme_support()
S
66 2 9
__construct()
S
67 1 8
enqueue_scripts()
S
74 1 5
load_pro_shortcode_to_free()
S
80 1 3
get_dashboard_page_url()
S
69 1 6
load_order_page()
S
75 1 4
show_application_form()
S
75 1 4
get_become_a_vendor()
S
66 1 10
add_query_vars()
S
68 1 8
get_custom_pages()
S
79 1 3
is_dashboard_page()
S
80 1 3
add_vendor_dashboard_icon()
S
82 1 3
convert_checkbox_to_toggle()
S
73 1 5