CWS_WP_Help_Plugin D

Total Complexity 174
Dependencies 2
Dependents 0
Total lines 718
Lines of code 578
Logical lines of code 331
Comment lines 53
Methods 60
Properties 6

Methods 60

Method Rating Maintainability Complexity Lines of code
api_slurp()
B
37 23 68
ajax_settings()
A
46 11 37
init()
A
41 9 52
ajax_reorder()
A
54 8 20
ajax_listener()
A
54 8 19
menu_order()
S
58 6 15
get_topics_for_api()
S
53 5 20
rest_api_init()
S
58 4 18
save_post()
S
63 5 10
render_listing_page()
S
57 3 18
query()
S
59 3 15
map_meta_cap()
S
65 4 9
get_option()
S
71 4 5
register_post_type()
S
47 1 37
post_updated_messages()
S
54 2 18
enqueue_block_editor_assets()
S
66 3 7
current_screen()
S
73 3 5
wp_dashboard_setup()
S
68 3 7
delete_post()
S
72 3 5
page_css_class()
S
66 3 9
page_attributes_dropdown()
S
61 3 10
explain_slurp()
S
71 3 5
load_post()
S
74 3 4
load_post_new()
S
74 3 4
local_id_from_slurp_id()
S
65 3 8
admin_menu()
S
62 3 9
get_help_topics_html()
S
62 3 10
get_options()
S
70 2 6
wp_list_pages()
S
71 2 5
clean_post_cache()
S
75 2 4
convert_links_cb()
S
69 2 6
make_links_local_cb()
S
69 2 6
submitbox_actions()
S
73 2 5
set_default_doc()
S
71 2 5
maybe_just_menu()
S
74 2 4
page_link()
S
67 2 7
__construct()
S
81 1 3
view_cap()
S
79 1 3
edit_cap()
S
79 1 3
get_option_defaults()
S
68 1 7
get_cap()
S
80 1 3
action_links()
S
74 1 4
inline_file()
S
79 1 3
dashboard_widget()
S
81 1 3
edit_enqueues()
S
76 1 4
edit_page_js()
S
81 1 3
get_slurp_source_key()
S
78 1 3
is_slurped()
S
78 1 3
api_request()
S
80 1 3
convert_links()
S
68 1 6
make_links_local()
S
78 1 3
update_options()
S
76 1 4
api_url()
S
79 1 3
only_query_help_docs()
S
80 1 3
get_default_doc()
S
79 1 3
is_default_doc()
S
75 1 4
unset_default_doc()
S
79 1 3
enqueue()
S
68 1 6
kill_it()
S
82 1 3
admin_page_url()
S
79 1 3