Kadence_Blocks_Table_Of_Contents D

Total Complexity 184
Dependencies 6
Dependents 0
Total lines 868
Lines of code 566
Logical lines of code 311
Comment lines 249
Methods 17
Properties 8

Methods 17

Method Rating Maintainability Complexity Lines of code
table_of_contents_get_headings()
D
24
56 150
render_table_of_content()
D
27
57 100
table_of_contents_get_headings_from_content()
D
28
29 139
table_of_contents_linear_to_nested_heading_list()
A
46 8 42
recursively_parse_blocks()
A
56 8 17
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_ignore_list()
S
70 2 6
get_inner_block_ignore_list()
S
71 2 6
get_ignore_classes()
S
70 2 6
table_of_contents_delete_node_children()
S
72 2 6
get_instance()
S
72 2 6
__construct()
S
78 1 3
convert_text_to_anchor()
S
68 1 7
table_of_contents_delete_node_and_children()
S
77 1 4