EPKB_KB_Handler D

Total Complexity 224
Dependencies 12
Dependents 64
Total lines 1,146
Lines of code 700
Logical lines of code 415
Comment lines 263
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
find_current_kb_id()
D
38 36 54
create_sample_categories_and_articles()
C
27
19 169
get_kb_main_pages()
A
48 14 31
get_kb_id_from_kb_main_shortcode()
A
47 14 31
get_first_kb_article_url()
A
47 11 35
get_kb_id_from_shortcode()
A
52 11 23
add_new_knowledge_base()
A
46 10 37
get_first_kb_main_page_url()
A
51 10 24
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_tag_taxonomy_name()
S
58 7 14
get_kb_id_from_category_taxonomy_name()
S
58 7 14
create_kb_main_page()
S
52 6 22
create_sample_article()
S
54 5 20
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
create_sample_category()
S
63 4 9
get_kb_category_with_most_articles_url()
S
60 3 13
is_kb_post_type()
S
69 3 6
is_kb_taxonomy()
S
69 3 6
get_kb_id_from_any_taxonomy()
S
64 3 10
get_sample_post_content()
S
56 1 23
get_default_slug()
S
76 2 3
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_relevant_kb_id()
S
69 2 7
get_tag_taxonomy_name()
S
79 1 3
get_post_type()
S
75 1 4
get_category_taxonomy_name()
S
79 1 3