Kadence_Blocks_Table_Of_Contents D

Total Complexity 172
Dependencies 5
Dependents 1
Total lines 873
Lines of code 557
Logical lines of code 308
Comment lines 256
Methods 18
Properties 8

Methods 18

Method Rating Maintainability Complexity Lines of code
render_table_of_content()
D
27
57 100
table_of_contents_get_headings()
D
29
39 121
table_of_contents_get_headings_from_content()
D
27
32 151
table_of_contents_linear_to_nested_heading_list()
A
46 8 42
recursively_parse_blocks()
A
55 9 19
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
get_ignore_classes()
S
70 2 6
get_inner_block_ignore_list()
S
71 2 6
get_ignore_list()
S
69 2 6
table_of_contents_delete_node_children()
S
72 2 6
convert_text_to_anchor()
S
68 1 7
__construct()
S
78 1 3
table_of_contents_delete_node_and_children()
S
77 1 4
reset_instance()
S
71 1 6