CWS_WP_Help_Plugin D

Total Complexity 178
Dependencies 2
Dependents 0
Total lines 847
Lines of code 701
Logical lines of code 343
Comment lines 55
Methods 60
Properties 5

Methods 60

Method Rating Maintainability Complexity Lines of code
api_slurp()
C
33 23 100
ajax_settings()
A
45 11 40
init()
A
41 9 54
ajax_reorder()
A
52 8 24
ajax_listener()
A
53 8 20
menu_order()
S
57 6 17
get_topics_for_api()
S
49 5 29
rest_api_init()
S
57 4 18
enqueue()
S
57 4 16
save_post()
S
63 5 10
map_meta_cap()
S
63 4 11
local_id_from_slurp_id()
S
56 3 20
page_attributes_dropdown()
S
55 3 19
render_listing_page()
S
57 3 18
get_help_topics_html()
S
57 3 17
register_post_type()
S
44 1 46
query()
S
59 3 15
get_option()
S
69 4 6
page_css_class()
S
64 3 11
post_updated_messages()
S
54 2 18
enqueue_block_editor_assets()
S
63 3 9
current_screen()
S
73 3 5
wp_dashboard_setup()
S
66 3 8
delete_post()
S
72 3 5
explain_slurp()
S
71 3 5
load_post()
S
72 3 5
load_post_new()
S
72 3 5
get_options()
S
68 2 7
get_cap()
S
69 2 7
wp_list_pages()
S
69 2 6
clean_post_cache()
S
73 2 5
api_request()
S
70 2 6
convert_links_cb()
S
69 2 6
make_links_local_cb()
S
68 2 7
admin_menu()
S
65 2 8
submitbox_actions()
S
71 2 6
set_default_doc()
S
71 2 5
maybe_just_menu()
S
72 2 5
page_link()
S
66 2 8
__construct()
S
81 1 3
view_cap()
S
79 1 3
edit_cap()
S
79 1 3
get_option_defaults()
S
68 1 7
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
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
kill_it()
S
82 1 3
admin_page_url()
S
79 1 3