EPKB_KB_Handler D

Total Complexity 205
Dependencies 12
Dependents 68
Total lines 938
Lines of code 516
Logical lines of code 336
Comment lines 257
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
find_current_kb_id()
D
39 34 51
create_kb_main_page()
A
44 13 41
get_kb_main_pages()
A
48 13 31
get_kb_id_from_kb_main_page()
A
48 12 30
add_new_knowledge_base()
A
45 11 40
get_first_kb_article_url()
A
47 11 35
get_first_kb_main_page_url()
A
51 10 24
get_shortcode_custom()
A
54 9 20
get_refreshed_kb_categories()
A
50 8 28
get_kb_id_from_rest_endpoint()
S
51 7 27
get_current_kb_id()
S
56 7 19
get_first_kb_main_page_id()
S
55 7 18
get_kb_id_from_category_taxonomy_name()
S
58 7 14
get_kb_id_from_tag_taxonomy_name()
S
58 7 14
get_shortcode_default()
S
57 5 16
is_kb_request()
S
62 6 10
get_kb_id_from_post_type()
S
62 5 10
is_kb_tag_taxonomy()
S
68 4 6
is_kb_category_taxonomy()
S
68 4 6
get_kb_category_with_most_articles_url()
S
60 3 13
get_kb_id_from_any_taxonomy()
S
64 3 10
is_kb_taxonomy()
S
69 3 6
is_kb_post_type()
S
69 3 6
get_category_taxonomy_name2()
S
68 2 7
get_current_kb_post_type()
S
69 2 7
get_post_type2()
S
69 2 7
get_default_slug()
S
76 2 3
get_relevant_kb_id()
S
69 2 7
get_category_taxonomy_name()
S
79 1 3
get_post_type()
S
75 1 4
get_tag_taxonomy_name()
S
79 1 3