EPKB_KB_Handler D

Total Complexity 195
Dependencies 10
Dependents 64
Total lines 904
Lines of code 498
Logical lines of code 324
Comment lines 250
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
find_current_kb_id()
C
39 33 50
get_kb_main_pages()
A
48 13 31
get_first_kb_article_url()
A
47 11 35
add_new_knowledge_base()
A
45 10 39
get_kb_id_from_kb_main_shortcode()
A
50 10 27
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
create_kb_main_page()
S
49 7 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_tag_taxonomy_name()
S
58 7 14
get_kb_id_from_category_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_category_taxonomy()
S
68 4 6
is_kb_tag_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_post_type2()
S
69 2 7
get_current_kb_post_type()
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