Code Analysis: Easy Table of Contents 2.0.17

Function Rating Maintainability Complexity Lines of code
force_balance_tags()
B
33 21 94
ezTOC_Post::getTOC()
B
34 20 88
ezTOC_Option::getRegistered()
B
20
1 372
ezTOC_Widget::widget()
B
35 19 83
ezTOC_Option::register()
B
43 20 41
ezTOC::is_eligible()
B
40 19 51
ezTOC_Post::createTOC()
B
39 17 61
ezTOC::the_content()
A
37 14 72
ezTOC_Admin::save()
A
43 15 51
ezTOC_Admin::displayMetabox()
A
31 6 157
ezTOC::enqueueScripts()
A
45 12 36
mb_substr_replace()
A
48 12 32
ezTOC_Option::sanitize()
A
48 12 30
mb_find_replace()
A
49 10 31
ezTOC_Post::excludeHeadings()
A
44 9 45
ezTOC_Post::generateHeadingIDFromTitle()
A
39 7 68
ezTOC_Option::textarea()
A
52 10 20
ezTOC_Option::text()
A
53 10 19
ezTOC::inlineCSS()
A
47 9 33
ezTOC_Post::getAlternateHeadings()
A
52 9 23
ezTOC_Option::number()
A
54 9 17
Easy_Plugins\Table_Of_Contents\Debug::log()
A
55 8 18
ezTOC_Option::hex_value()
S
53 7 23
ezTOC_Post::getCurrentPage()
S
58 7 14
ezTOC_Option::selectgroup()
S
50 6 27
ezTOC_Option::checkboxgroup()
S
54 6 19
ezTOC_Post::alternateHeadings()
S
50 5 31
ezTOC_Option::checkbox()
S
56 6 16
ezTOC_Option::select()
S
52 5 23
ezTOC::maybeApplyTheContentFilter()
S
61 5 11
ezTOC_Post::inExcludedNode()
S
63 5 11
ezTOC_Post::getHeadingsWithAnchors()
S
53 4 24
ezTOC_Post::getHeadings()
S
54 4 23
Easy_Plugins\Table_Of_Contents\Debug::__toString()
S
56 4 18
ezTOC_Widget::form()
S
50 3 33
ezTOC_Post::removeHeadings()
S
60 4 13
ezTOC::get()
S
61 4 12
ezTOC_Post::extractHeadings()
S
56 3 19
ezTOC_Post::processPages()
S
58 3 16
ezTOC_Post::createTOCItemURL()
S
63 4 10
ezTOC::loadTextdomain()
S
57 3 15
ezTOC::shortcode()
S
59 3 14
ezTOC_Option::getDefaults()
S
44 1 44
Easy_Plugins\Table_Of_Contents\Debug::dump()
S
58 3 13
ezTOC_Post::extractExcludedNodes()
S
59 3 13
ezTOC_Option::getPostTypes()
S
61 3 12
get_ez_toc_list()
S
63 3 11
get_ez_toc_block()
S
63 3 11
ezTOC_Post::getHeadingLevels()
S
63 3 11
ezTOC_Option::font_size()
S
53 2 26
ezTOC_Option::custom_width()
S
53 2 25
ezTOC_Post::getTOCList()
S
63 3 10
ezTOC_Admin::registerMetaboxes()
S
65 3 8
ezTOC_Option::radio()
S
61 3 10
ezTOC::instance()
S
65 3 10
ezTOC_Post::removeHeadingsFromExcludedNodes()
S
66 3 8
ezTOC_Widget::update()
S
66 3 8
ezTOC::array_search_deep()
S
66 3 8
ezTOC_Post::removeEmptyHeadings()
S
64 3 10
ezTOC_Option::color()
S
62 3 9
ezTOC::includes()
S
62 2 12
ezTOC_Widget::printScripts()
S
67 1 27
Easy_Plugins\Table_Of_Contents\Debug::add()
S
68 2 7
ezTOC_Post::__construct()
S
65 2 10
ezTOC_Option::get()
S
68 2 6
ezTOC_Post::headingIDs()
S
70 2 6
ezTOC_Option::delete()
S
68 2 7
ezTOC_Elementor::__construct()
S
60 1 15
ezTOC_Widget::enqueueScripts()
S
68 2 8
ezTOC_Option::set()
S
64 2 9
ezTOC_Post::get()
S
68 2 7
ezTOC_Option::header()
S
69 2 6
ezTOC_Elementor::maybe_apply_the_content_filter()
S
72 2 6
ezTOC_Widget::__construct()
S
61 1 13
ezTOC_Post::stripShortcodes()
S
64 1 11
ezTOC_Admin::menu()
S
63 1 11
br2()
S
76 1 4
ezTOC_Elementor::end_excerpt_flag()
S
77 1 4
ezTOC_Admin::__construct()
S
82 1 3
ezTOC_Admin::registerScripts()
S
73 1 4
ezTOC::__construct()
S
98 1 1
ezTOC_Option::getOptions()
S
72 1 5
ezTOC::hooks()
S
69 1 6
ez_toc_list()
S
80 1 3
ezTOC_Post::createTOCItemAnchor()
S
67 1 8
ezTOC_Post::hasTOCItems()
S
82 1 3
ezTOC_Admin::hooks()
S
68 1 6
ezTOC_Admin::page()
S
80 1 3
ezTOC()
S
82 1 3
br2nl()
S
81 1 3
ezTOC_Post::getNumberOfPages()
S
80 1 3
ezTOC_Elementor::start_excerpt_flag()
S
77 1 4
ezTOC::defineConstants()
S
76 1 6
ezTOC_Elementor::start()
S
81 1 3
ezTOC_Post::getPages()
S
82 1 3
ezTOC_Widget::register()
S
80 1 3
ezTOC_Post::process()
S
77 1 4
ezTOC_Admin::pluginActionLinks()
S
65 1 9
ezTOC_Option::descriptive_text()
S
79 1 3
ez_toc_block()
S
80 1 3
ezTOC_Post::toc()
S
81 1 3
ezTOC_Post::applyContentFilter()
S
66 1 8
ezTOC_Option::missingCallback()
S
71 1 6
Easy_Plugins\Table_Of_Contents\Debug::appendTo()
S
80 1 3
Easy_Plugins\Table_Of_Contents\Debug::__construct()
S
79 1 3
ezTOC_Admin::enqueueScripts()
S
77 1 4
ezTOC_Widget::the_content()
S
65 1 10
ezTOC_Post::isMultipage()
S
80 1 3
ezTOC_Admin::metabox()
S
78 1 3