Easy Table of Contents 2.0.44

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

Summary

Errors
3PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 394.78 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.1.1
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 4

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=12bced196f
Aspect after-activation
HTTP status 200
Load time 0.441 s
Memory usage 3.61 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.223 s
Memory usage 3 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.578 s
Memory usage 5.22 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.562 s
Memory usage 5.21 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/edit.php0.169 s0.243 s+0.074 s3.07 MiB3.3 MiB+ 232.38 KiB
/wp-admin/post-new.php0.736 s0.928 s+0.192 s4.97 MiB6.87 MiB+ 1.9 MiB
/wp-admin/upload.php0.638 s0.261 s-0.377 s2.99 MiB3.22 MiB+ 229.63 KiB
/wp-admin/options-writing.php0.140 s0.161 s+0.021 s2.99 MiB3.2 MiB+ 217.11 KiB
/wp-admin/media-new.php0.240 s0.228 s-0.012 s2.97 MiB3.2 MiB+ 241.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.190 s+0.026 s2.98 MiB3.24 MiB+ 265.7 KiB
/wp-admin/post-new.php?post_type=page0.572 s0.659 s+0.087 s4.96 MiB5.21 MiB+ 250.57 KiB
/wp-admin/options-discussion.php0.192 s0.281 s+0.089 s2.98 MiB3.22 MiB+ 253.38 KiB
/wp-admin/edit-comments.php0.175 s0.206 s+0.031 s3 MiB3.24 MiB+ 248.7 KiB
/0.255 s0.175 s-0.080 s2.94 MiB3 MiB+ 60.09 KiB
Average 0.328 s0.333 s+0.005 s3.39 MiB3.77 MiB+ 394.78 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.5%4,9952,29414
CSS25.8%2,095416
JavaScript7.9%6431426
PO File4.7%3781231
XML0.1%701
Total 8,118 2,600 28

PHP Code Analysis | More results »

Lines of code 4,403
Total complexity 819
Median class complexity 56.0
Median method complexity 3.0
Most complex class ezTOC
Most complex function ezTOC_WidgetSticky::widget()
Classes 9
Methods 145
Functions 28

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.

Meta Boxes

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

PHP Error Log 3 lines

[25-Jan-2023 05:50:35 UTC] PHP Fatal error:  Cannot redeclare wp_check_browser_version() (previously declared in /wp-content/plugins/easy-table-of-contents/includes/inc.functions.php:138) in /wp-admin/includes/dashboard.php on line 1769
[25-Jan-2023 05:50:36 UTC] PHP Fatal error:  Cannot redeclare wp_check_browser_version() (previously declared in /wp-content/plugins/easy-table-of-contents/includes/inc.functions.php:138) in /wp-admin/includes/dashboard.php on line 1769
[25-Jan-2023 05:50:42 UTC] PHP Fatal error:  Cannot redeclare wp_check_browser_version() (previously declared in /wp-content/plugins/easy-table-of-contents/includes/inc.functions.php:138) in /wp-admin/includes/dashboard.php on line 1769
See also: All tests for this plugin, How to Hide Easy Table of Contents Admin Menus and Meta Boxes