Easy Table of Contents 2.0.22

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 138.63 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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
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=de5e47adcc
Aspect after-activation
HTTP status 200
Load time 0.266 s
Memory usage 3.89 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.284 s
Memory usage 3.83 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.422 s
Memory usage 3.6 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.619 s
Memory usage 5.67 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 1.564 s
Memory usage 5.65 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.361 s0.243 s-0.118 s3.72 MiB3.85 MiB+ 134.83 KiB
/wp-admin/edit.php0.192 s0.211 s+0.019 s3.75 MiB3.88 MiB+ 134.12 KiB
/wp-admin/post-new.php0.754 s0.926 s+0.172 s5.53 MiB5.68 MiB+ 146.92 KiB
/wp-admin/upload.php0.390 s0.403 s+0.013 s3.68 MiB3.81 MiB+ 133.7 KiB
/wp-admin/options-writing.php0.281 s0.154 s-0.127 s3.61 MiB3.79 MiB+ 177.95 KiB
/wp-admin/media-new.php0.299 s0.196 s-0.103 s3.66 MiB3.79 MiB+ 133.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.187 s-0.005 s3.68 MiB3.82 MiB+ 134.77 KiB
/wp-admin/post-new.php?post_type=page0.679 s0.643 s-0.036 s5.53 MiB5.67 MiB+ 141.47 KiB
/wp-admin/options-discussion.php0.235 s0.349 s+0.114 s3.59 MiB3.79 MiB+ 198.12 KiB
/wp-admin/edit-comments.php0.340 s0.232 s-0.108 s3.69 MiB3.82 MiB+ 133.68 KiB
/0.302 s0.215 s-0.087 s3.55 MiB3.6 MiB+ 55.48 KiB
Average 0.366 s0.342 s-0.024 s4 MiB4.14 MiB+ 138.63 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
PO File
Language % Lines of code Comment lines Files
PHP70.6%2,7721,74010
CSS13.2%517202
PO File9.1%3561211
JavaScript6.9%272353
XML0.2%701
Total 3,924 1,916 17

PHP Code Analysis | More results »

Lines of code 2,730
Total complexity 494
Median class complexity 48.0
Median method complexity 3.0
Most complex class ezTOC_Post
Most complex function ezTOC_Post::getTOC()
Classes 7
Methods 102
Functions 10

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 2

Sidebar Widgets 1

ID Name
ezw_tcoTable of Contents

Meta Boxes

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

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Easy Table of Contents Admin Menus and Meta Boxes