Kadence_Blocks_Table_Of_Contents D

Total Complexity 186
Dependencies 8
Dependents 1
Total lines 987
Lines of code 618
Logical lines of code 350
Comment lines 285
Methods 20
Properties 8

Methods 20

Method Rating Maintainability Complexity Lines of code
render_table_of_content()
D
27
57 102
table_of_contents_get_headings()
D
29
39 121
table_of_contents_get_headings_from_content()
D
26
32 155
table_of_contents_linear_to_nested_heading_list()
A
46 8 42
recursively_parse_blocks()
A
55 9 19
process_content_through_kadence_conditional_logic()
S
51 7 28
process_content_through_conditional_hiding()
S
52 7 27
table_of_contents_render_list()
S
49 5 32
get_post_from_context()
S
65 5 9
headings_enqueue()
S
60 2 14
convert_smart_quotes()
S
57 1 19
get_instance()
S
72 2 6
table_of_contents_delete_node_children()
S
72 2 6
get_ignore_list()
S
69 2 6
get_inner_block_ignore_list()
S
71 2 6
get_ignore_classes()
S
70 2 6
__construct()
S
78 1 3
table_of_contents_delete_node_and_children()
S
77 1 4
convert_text_to_anchor()
S
68 1 7
reset_instance()
S
71 1 6