Code Analysis: Easy Table of Contents 2.0.45

Function Rating Maintainability Complexity Lines of code
ezTOC_WidgetSticky::widget()
D
23
49 160
ezTOC_Option::getRegistered()
D
15
2 529
ezTOC_Post::getTOC()
C
29 28 116
ezTOC::enqueueScripts()
C
34 27 76
ezTOC_Widget::widget()
B
33 21 95
force_balance_tags()
B
33 21 94
ezTOC::the_content()
B
34 21 82
ezTOC_Option::register()
B
42 22 43
ezTOC_WidgetSticky::form()
B
36 18 91
ezTOC::is_eligible()
B
40 19 51
ezTOC::ez_toc_widget_sticky_shortcode()
B
38 18 60
ezTOC_Post::createTOC()
B
39 17 61
ezTOC_Admin::save()
A
43 15 51
ezTOC_Admin::displayMetabox()
A
31 6 157
mb_substr_replace()
A
48 12 32
ezTOC_Option::sanitize()
A
48 12 30
ezTOC_Post::excludeHeadings()
A
44 11 45
mb_find_replace()
A
45 11 41
ezTOC_Option::text()
A
50 12 24
eztoc_send_feedback()
A
48 11 31
ezTOC::InlineCountingCSS()
A
42 9 51
ezTOC::inlineCSS()
A
47 10 34
ezTOC::shortcode()
A
50 10 27
ezTOC_Post::generateHeadingIDFromTitle()
A
38 7 70
ezTOC_Option::textarea()
A
52 10 20
ezTOC::inlineStickyToggleCSS()
A
48 9 33
ezTOC_Post::getAlternateHeadings()
A
52 9 23
ezTOC_Option::number()
A
54 9 17
ezTOC_Post::getStickyToggleTOC()
A
44 7 45
eztoc_vc_toggle_modified()
A
48 8 28
ezTOC_Post::processPages()
A
50 8 27
Easy_Plugins\Table_Of_Contents\Debug::log()
A
55 8 18
ezTOC_WidgetSticky::update()
S
49 7 30
ez_toc_wp_check_browser_version()
S
50 7 28
ezTOC_Option::hex_value()
S
53 7 23
ezTOC_Post::alternateHeadings()
S
48 6 35
ezTOC_Admin::eztoc_send_query_message()
S
49 6 31
ezTOC_Post::getCurrentPage()
S
58 7 14
ezTOC_Option::selectgroup()
S
50 6 27
ezTOC_Admin::inlineAdminStickyToggleJS()
S
44 2 84
ezTOC::hooks()
S
52 6 22
ezTOC_Admin::eztoc_sanitize_textarea_field()
S
53 6 22
eztoc_pointers::admin_print_footer_scripts()
S
43 4 52
ezTOC_Option::checkboxgroup()
S
54 6 19
ezTOC_Option::checkbox()
S
56 6 16
ezTOC::isCoreLevel()
S
67 7 6
ezTOC::maybeApplyTheContentFilter()
S
58 6 14
ezTOC::rtlCounterContentCSS()
S
52 5 24
ezTOC_Option::select()
S
52 5 23
ezTOC_Post::extractHeadings()
S
53 5 23
ezTOC::rtlCounterResetCSS()
S
53 5 22
ezTOC_Post::extractExcludedNodes()
S
55 5 18
ezTOC_Post::getTOCList()
S
57 5 15
ez_toc_get_browser_name()
S
66 6 8
ezTOC_Admin::hooks()
S
58 5 13
ezTOC_Post::inExcludedNode()
S
63 5 11
ezTOC_Post::getHeadingsWithAnchors()
S
53 4 24
ezTOC_Post::getHeadings()
S
54 4 23
eztoc_pointers::eztoc_pointer_script()
S
50 2 49
ezTOC_Widget::form()
S
50 3 33
Easy_Plugins\Table_Of_Contents\Debug::__toString()
S
56 4 18
ezTOC::rtlCounterIncrementCSS()
S
56 4 18
ezTOC_Option::header()
S
66 5 7
ezTOC_Post::removeHeadings()
S
60 4 13
ezTOC_WidgetSticky::enqueueScripts()
S
58 4 13
ezTOC_Admin::load_scripts()
S
59 4 12
ezTOC::get()
S
61 4 12
ezTOC::stickyToggleContent()
S
56 3 21
ezTOC_Option::getCounterList_i18n()
S
42 1 49
ezTOC_Option::getDefaults()
S
43 1 49
ezTOC::inlineWPBakeryJS()
S
53 2 33
ez_toc_woo_category_desc()
S
56 3 17
ezTOC::loadTextdomain()
S
57 3 15
ezTOC_Option::paragraph()
S
64 4 9
ezTOC_Post::createTOCItemURL()
S
63 4 10
ezTOC::addEditorButton()
S
64 4 9
Easy_Plugins\Table_Of_Contents\Debug::dump()
S
58 3 13
eztoc_add_deactivation_feedback_modal()
S
62 3 12
ezTOC::inlineMainCountingCSS()
S
60 3 12
ezTOC_Option::getPostTypes()
S
61 3 12
get_ez_toc_block()
S
63 3 11
get_ez_toc_list()
S
63 3 11
ezTOC_Option::font_size()
S
53 2 26
ezTOC_Option::child_font_size()
S
53 2 26
ezTOC_Post::getHeadingLevels()
S
63 3 11
ezTOC_Option::custom_width()
S
53 2 25
eztoc_subscribe_for_newsletter()
S
57 2 17
ezTOC_Admin::registerMetaboxes()
S
65 3 8
ezTOC::includes()
S
59 2 15
ezTOC_Post::removeHeadingsFromExcludedNodes()
S
66 3 8
ezTOC_Option::hr()
S
64 3 9
ezTOC_Option::color()
S
62 3 9
ezTOC_Widget::update()
S
66 3 8
ez_toc_redirect()
S
66 3 9
ezTOC::array_search_deep()
S
66 3 8
ezTOC::instance()
S
65 3 10
ezTOC_Post::removeEmptyHeadings()
S
64 3 10
ezTOC::checkBeaverBuilderPluginActive()
S
70 3 6
ezTOC_Option::radio()
S
61 3 10
flBuilderLayoutDataEZTOC()
S
64 3 10
ezTOC_Widget::printScripts()
S
67 1 27
ezTOC_WidgetSticky::printScripts()
S
67 1 27
ezTOC_Post::createTOCItemAnchor()
S
62 2 11
ezTOC::getTOCToggleIcon()
S
66 2 8
ezTOC_Option::eztoc_reset_options_to_default()
S
66 2 8
ezTOC_Option::delete()
S
68 2 7
Easy_Plugins\Table_Of_Contents\Debug::add()
S
68 2 7
eztoc_enqueue_makebetter_email_js()
S
68 2 7
ezTOC_Post::__construct()
S
65 2 10
ezTOC_Elementor::maybe_apply_the_content_filter()
S
72 2 6
ezTOC_Widget::enqueueScripts()
S
68 2 8
ezTOC_Post::headingIDs()
S
70 2 6
ezTOC_Option::get()
S
68 2 6
eztoc_pointers::admin_enqueue_scripts()
S
63 2 10
ezTOC_Option::set()
S
64 2 9
ezTOC_Elementor::__construct()
S
60 1 15
ezTOC_Post::get()
S
68 2 7
ezTOC::inlineScrollEnqueueScripts()
S
64 2 9
ez_toc_woo_cat_desc_remove()
S
70 2 6
ezTOC_Option::getCounterListBasic()
S
60 1 13
ezTOC_Widget::__construct()
S
61 1 13
ezTOC_WidgetSticky::__construct()
S
61 1 13
ezTOC_Admin::registerScripts()
S
60 1 12
ezTOC_Admin::menu()
S
63 1 11
ezTOC_Post::stripShortcodes()
S
64 1 11
ezTOC_Post::toc()
S
81 1 3
ezTOC_Admin::inlineAdminOccasionalAdsPopUpCSS_JS()
S
65 1 10
ez_toc_inline_styles()
S
75 1 4
ezTOC_Post::applyContentFilter()
S
66 1 8
eztoc_pointers::admin_head()
S
100 1 4
ezTOC_Option::getCounterListDecimal()
S
68 1 7
ezTOC_Option::getCounterList()
S
79 1 3
ezTOC::enqueueScriptsforExcludeCSS()
S
70 1 6
eztoc_pointers::__construct()
S
80 1 3
ezTOC_Post::process()
S
77 1 4
insertElementByPTag()
S
72 1 5
ezTOC_Post::hasTOCItems()
S
82 1 3
ezTocEnqueueScriptsforFoodieProTheme()
S
78 1 5
ezTOC_Option::descriptive_text()
S
79 1 3
ezTOC_WidgetSticky::the_content()
S
65 1 10
ezTocEnqueueScriptsforThriveThemeBuilder()
S
78 1 5
ezTOC_Option::getOptions()
S
72 1 5
Easy_Plugins\Table_Of_Contents\Debug::appendTo()
S
80 1 3
ezTOC_Admin::pluginActionLinks()
S
63 1 9
ezTOC::toc_add_tinymce_plugin()
S
75 1 4
Easy_Plugins\Table_Of_Contents\Debug::__construct()
S
79 1 3
ezTOC_Option::missingCallback()
S
71 1 6
ezTOC::__construct()
S
98 1 1
ez_toc_activate()
S
80 1 3
ezTOC_Admin::_clean_other_plugins_stuff()
S
72 1 6
ezTOC_Admin::metabox()
S
78 1 3
eztoc_pointers::get_admin_url()
S
73 1 5
ezTOC_Admin::page()
S
80 1 3
ezTOC_Admin::__construct()
S
82 1 3
ezTOC_Admin::enqueueScripts()
S
77 1 4
ez_toc_list()
S
80 1 3
EzDumper()
S
75 1 5
ezTOC_Elementor::end_excerpt_flag()
S
77 1 4
ezTOC_WidgetSticky::register()
S
80 1 3
ezTOC::toc_register_mce_button()
S
76 1 4
EzPrintR()
S
75 1 5
ezTOC_Elementor::start_excerpt_flag()
S
77 1 4
ez_toc_block()
S
80 1 3
ezTOC::inlineStickyToggleJS()
S
72 1 6
br2()
S
76 1 4
ezTOC_Post::isMultipage()
S
80 1 3
ezTOC_Post::getPages()
S
82 1 3
ezTOC::defineConstants()
S
76 1 6
br2nl()
S
81 1 3
ezTOC_Post::getNumberOfPages()
S
80 1 3
ezTOC_Widget::register()
S
80 1 3
ezTOC_Widget::the_content()
S
65 1 10
ezTOC_Elementor::start()
S
81 1 3
ezTOC()
S
82 1 3