Table of Contents Plus 2408

Does Table of Contents Plus work with WordPress 6.7 and PHP 8.1.12? 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: 23.39 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.7
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/table-of-contents-plus/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=table-of-contents-plus%2Ftoc.php&plugin_status=all&paged=1&s&_wpnonce=6184e94220
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Settings → TOC+

Page screenshot: Settings → TOC+
URL /wp-admin/options-general.php?page=toc
Aspect menu-item
HTTP status 200
Load time 0.354 s
Memory usage 3.51 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.193 s
Memory usage 3.44 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.649 s
Memory usage 5.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.296 s0.277 s-0.019 s3.48 MiB3.51 MiB+ 35.09 KiB
/wp-admin/edit.php0.210 s0.197 s-0.013 s3.54 MiB3.57 MiB+ 35.3 KiB
/wp-admin/post-new.php0.765 s0.613 s-0.152 s5.92 MiB5.96 MiB+ 39.52 KiB
/wp-admin/upload.php0.563 s0.527 s-0.036 s3.49 MiB3.51 MiB+ 17.9 KiB
/wp-admin/options-writing.php0.223 s0.208 s-0.015 s3.47 MiB3.49 MiB+ 21.89 KiB
/wp-admin/media-new.php0.383 s0.256 s-0.127 s3.46 MiB3.49 MiB+ 30.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.206 s+0.014 s3.47 MiB3.51 MiB+ 40.76 KiB
/wp-admin/post-new.php?post_type=page0.568 s0.593 s+0.025 s5.92 MiB5.95 MiB+ 35.05 KiB
/wp-admin/options-discussion.php0.269 s0.255 s-0.014 s3.47 MiB3.49 MiB+ 18.39 KiB
/wp-admin/edit-comments.php0.421 s0.205 s-0.216 s3.49 MiB3.51 MiB+ 17.89 KiB
/0.343 s0.214 s-0.129 s3.47 MiB3.44 MiB- 34.55 KiB
Average 0.385 s0.323 s-0.062 s3.93 MiB3.95 MiB+ 23.39 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
Markdown
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP67.5%1,5172026
Markdown13.2%29603
CSS9.1%20502
JavaScript8.5%191432
XML0.9%2091
JSON0.8%1701
Total 2,246 254 15

PHP Code Analysis | More results »

Lines of code 1,501
Total complexity 327
Median class complexity 160.5
Median method complexity 3.0
Most complex class TOC_Plus
Most complex function TOC_Plus::admin_options()
Classes 2
Methods 38
Functions 1

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 1

Sidebar Widgets 1

ID Name
toc-widgetTOC+

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Table of Contents Plus Admin Menus