wcmamtx_add_frontend_class D

Total Complexity 159
Dependencies 1
Dependents 0
Total lines 744
Lines of code 454
Logical lines of code 303
Comment lines 12
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
extra_content_foreach()
C
35 26 77
wcmamtx_add_myaccount_links()
C
36 24 80
wcmamtx_reoder_array()
B
44 17 43
wcmamtx_modify_post_content()
A
47 13 34
wcmamtx_link_url_redirect()
A
50 12 26
wcmamtx_override_default_navigation_template()
A
50 12 25
wcmamtx_check_role_visibility()
A
49 10 30
wcmamtx_add_custom_endpoint_page()
A
51 10 24
wcmamtx_get_endpoint_url()
S
51 7 26
wcmamtx_rename_my_account_menu_items()
S
52 7 25
wpml_sl_blacklist_requests()
S
60 5 13
wcmamtx_my_account_default_redirect()
S
62 5 10
wcmamtx_core_endpoint_contents()
S
63 4 11
wcmamtx_flush_rewrite_rules()
S
73 3 5
wcmamtx_load_assets()
S
64 2 9
__construct()
S
61 1 11
wcmamtx_do_query_vars()
S
74 1 5