Table of Contents Plus 2411.1

Does Table of Contents Plus work with WordPress 7.0.2 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: 31.47 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 version7.0.2
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=827b07aa00
Aspect after-activation
HTTP status 200
Load time 0.657 s
Memory usage 3.92 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.735 s
Memory usage 3.91 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.258 s
Memory usage 4.26 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.915 s
Memory usage 6.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.765 s0.587 s-0.178 s3.92 MiB3.96 MiB+ 37.91 KiB
/wp-admin/edit.php0.722 s0.513 s-0.209 s3.98 MiB4.02 MiB+ 37.91 KiB
/wp-admin/post-new.php2.377 s1.821 s-0.556 s6.56 MiB6.6 MiB+ 42.34 KiB
/wp-admin/upload.php0.901 s0.715 s-0.186 s3.89 MiB3.91 MiB+ 20.34 KiB
/wp-admin/options-writing.php0.613 s0.524 s-0.089 s3.86 MiB3.89 MiB+ 24.34 KiB
/wp-admin/media-new.php0.627 s0.584 s-0.043 s3.85 MiB3.88 MiB+ 32.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.542 s0.908 s+0.366 s3.86 MiB3.9 MiB+ 37.7 KiB
/wp-admin/post-new.php?post_type=page2.007 s1.475 s-0.532 s6.55 MiB6.59 MiB+ 37.86 KiB
/wp-admin/options-discussion.php0.621 s1.117 s+0.496 s3.86 MiB3.88 MiB+ 20.84 KiB
/wp-admin/edit-comments.php0.571 s0.595 s+0.024 s3.88 MiB3.9 MiB+ 20.4 KiB
/0.334 s0.264 s-0.070 s4.23 MiB4.26 MiB+ 33.98 KiB
Average 0.916 s0.828 s-0.089 s4.41 MiB4.44 MiB+ 31.47 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
PHP68.0%1,5512026
Markdown13.0%29603
CSS9.0%20502
JavaScript8.4%191432
XML0.9%2091
JSON0.7%1701
Total 2,280 254 15

PHP Code Analysis | More results »

Lines of code 1,535
Total complexity 336
Median class complexity 165.0
Median method complexity 2.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