Easy Table of Contents 2.0.60

Does Easy Table of Contents work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 423.76 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500,000+
WordPress.org page https://wordpress.org/plugins/easy-table-of-contents/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Table of Contents ‹ Test site — WordPress

Page screenshot: Table of Contents ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=table-of-contents#welcome
Requested URL /wp-admin/plugins.php?action=activate&plugin=easy-table-of-contents%2Feasy-table-of-contents.php&plugin_status=all&paged=1&s&_wpnonce=88e2aace1c
Aspect after-activation
HTTP status 200
Load time 0.614 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Settings → Table of Contents

Page screenshot: Settings → Table of Contents
URL /wp-admin/options-general.php?page=table-of-contents
Aspect menu-item
HTTP status 200
Load time 0.333 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.171 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.615 s
Memory usage 5.82 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.593 s
Memory usage 5.81 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.776 s
Memory usage 5.77 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.303 s-0.067 s3.38 MiB3.73 MiB+ 354.45 KiB
/wp-admin/edit.php0.203 s0.225 s+0.022 s3.41 MiB3.75 MiB+ 353.83 KiB
/wp-admin/post-new.php0.852 s0.773 s-0.079 s5.46 MiB6.91 MiB+ 1.46 MiB
/wp-admin/upload.php0.696 s0.471 s-0.225 s3.32 MiB3.65 MiB+ 336.84 KiB
/wp-admin/options-writing.php0.242 s0.226 s-0.016 s3.32 MiB3.64 MiB+ 330.3 KiB
/wp-admin/media-new.php0.325 s0.285 s-0.040 s3.29 MiB3.64 MiB+ 353.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.213 s+0.008 s3.31 MiB3.66 MiB+ 354.52 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.568 s-0.037 s5.45 MiB5.81 MiB+ 366.39 KiB
/wp-admin/options-discussion.php0.263 s0.518 s+0.255 s3.3 MiB3.63 MiB+ 340.29 KiB
/wp-admin/edit-comments.php0.230 s0.226 s-0.004 s3.34 MiB3.66 MiB+ 337.35 KiB
/0.286 s0.195 s-0.091 s3.36 MiB3.4 MiB+ 43.63 KiB
Average 0.389 s0.364 s-0.025 s3.72 MiB4.14 MiB+ 423.76 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP67.2%6,8342,26314
CSS20.8%2,119206
JavaScript8.2%8351006
PO File3.7%3781231
XML0.1%701
Total 10,173 2,506 28

PHP Code Analysis | More results »

Lines of code 6,180
Total complexity 1,298
Median class complexity 70.0
Median method complexity 3.0
Most complex class ezTOC
Most complex function ezTOC_WidgetSticky::widget()
Classes 9
Methods 165
Functions 61

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 3

Sidebar Widgets 2

ID Name
ezw_tcoTable of Contents
ez_toc_widget_stickySticky Sidebar Table of Contents

Meta Boxes

{
    "post": {
        "ez-toc": {
            "title": "Table of Contents",
            "context": "advanced"
        }
    },
    "page": {
        "ez-toc": {
            "title": "Table of Contents",
            "context": "advanced"
        }
    }
}

PHP Error Log 8 lines

[06-Dec-2023 18:57:55 UTC] PHP Warning:  Undefined array key "desc" in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:57:55 UTC] PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:57:59 UTC] PHP Warning:  Undefined array key "desc" in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:57:59 UTC] PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:58:04 UTC] PHP Warning:  Undefined array key "desc" in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:58:04 UTC] PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:58:07 UTC] PHP Warning:  Undefined array key "desc" in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
[06-Dec-2023 18:58:07 UTC] PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/easy-table-of-contents/includes/class.options.php on line 1776
See also: All tests for this plugin, How to Hide Easy Table of Contents Admin Menus and Meta Boxes