Easy Table of Contents 2.0.27

Does Easy Table of Contents work with WordPress 6.0.1 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: 158.74 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.048 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.1
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

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=2d4d61cf8a
Aspect after-activation
HTTP status 200
Load time 0.615 s
Memory usage 3.94 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.658 s
Memory usage 3.82 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.273 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 1.122 s
Memory usage 5.71 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.298 s
Memory usage 5.69 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
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.430 s0.372 s-0.058 s3.72 MiB3.88 MiB+ 162.77 KiB
/wp-admin/edit.php0.235 s0.286 s+0.051 s3.75 MiB3.91 MiB+ 162.37 KiB
/wp-admin/post-new.php1.197 s1.504 s+0.307 s5.55 MiB5.71 MiB+ 169.98 KiB
/wp-admin/upload.php0.556 s0.458 s-0.098 s3.68 MiB3.84 MiB+ 161.63 KiB
/wp-admin/options-writing.php0.296 s0.206 s-0.090 s3.62 MiB3.82 MiB+ 206.73 KiB
/wp-admin/media-new.php0.321 s0.291 s-0.030 s3.66 MiB3.82 MiB+ 162.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.246 s0.256 s+0.010 s3.69 MiB3.85 MiB+ 163.65 KiB
/wp-admin/post-new.php?post_type=page1.094 s1.306 s+0.212 s5.54 MiB5.7 MiB+ 164.53 KiB
/wp-admin/options-discussion.php0.285 s0.389 s+0.104 s3.6 MiB3.82 MiB+ 227.3 KiB
/wp-admin/edit-comments.php0.272 s0.273 s+0.001 s3.69 MiB3.85 MiB+ 162.35 KiB
/0.331 s0.448 s+0.117 s3.6 MiB3.61 MiB+ 2.73 KiB
Average 0.478 s0.526 s+0.048 s4.01 MiB4.16 MiB+ 158.74 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
Language % Lines of code Comment lines Files
PHP61.6%3,5121,78213
CSS25.5%1,452303
JavaScript6.5%373554
PO File6.2%3561211
XML0.1%701
Total 5,700 1,988 22

PHP Code Analysis | More results »

Lines of code 3,084
Total complexity 541
Median class complexity 40.5
Median method complexity 3.0
Most complex class ezTOC_Post
Most complex function ezTOC_Post::getTOC()
Classes 8
Methods 109
Functions 17

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