LuckyWP Table of Contents 2.1.11

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

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 184.34 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/luckywp-table-of-contents/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=luckywp-table-of-contents%2Fluckywp-table-of-contents.php&plugin_status=all&paged=1&s&_wpnonce=349a4a60ce
Aspect after-activation
HTTP status 200
Load time 0.434 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Settings → Table of Contents

Page screenshot: Settings → Table of Contents
URL /wp-admin/options-general.php?page=lwptoc_settings
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

Settings → Table of Contents → Appearance

Page screenshot: Settings → Table of Contents → Appearance
URL /wp-admin/options-general.php?page=lwptoc_settings&tab=appearance
Aspect menu-item-tab
HTTP status 200
Load time 0.209 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Settings → Table of Contents → Auto Insert

Page screenshot: Settings → Table of Contents → Auto Insert
URL /wp-admin/options-general.php?page=lwptoc_settings&tab=autoInsert
Aspect menu-item-tab
HTTP status 200
Load time 0.146 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Settings → Table of Contents → Processing Headings

Page screenshot: Settings → Table of Contents → Processing Headings
URL /wp-admin/options-general.php?page=lwptoc_settings&tab=processingHeadings
Aspect menu-item-tab
HTTP status 200
Load time 0.129 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Settings → Table of Contents → Misc.

Page screenshot: Settings → Table of Contents → Misc.
URL /wp-admin/options-general.php?page=lwptoc_settings&tab=misc
Aspect menu-item-tab
HTTP status 200
Load time 0.161 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Settings → Table of Contents → LuckyWP Plugins

Page screenshot: Settings → Table of Contents → LuckyWP Plugins
URL /wp-admin/options-general.php?page=lwptoc_settings&tab=plugins
Aspect menu-item-tab
HTTP status 200
Load time 0.460 s
Memory usage 4 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.208 s
Memory usage 3.8 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.422 s
Memory usage 5.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.254 s-0.020 s3.48 MiB3.69 MiB+ 211.04 KiB
/wp-admin/edit.php0.167 s0.166 s-0.001 s3.54 MiB3.75 MiB+ 212.4 KiB
/wp-admin/post-new.php0.692 s0.693 s+0.001 s5.93 MiB6.1 MiB+ 181.63 KiB
/wp-admin/upload.php0.475 s0.405 s-0.070 s3.5 MiB3.69 MiB+ 195.36 KiB
/wp-admin/options-writing.php0.187 s0.157 s-0.030 s3.47 MiB3.67 MiB+ 199.35 KiB
/wp-admin/media-new.php0.229 s0.182 s-0.047 s3.46 MiB3.67 MiB+ 207.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.144 s0.188 s+0.044 s3.48 MiB3.69 MiB+ 218.22 KiB
/wp-admin/post-new.php?post_type=page0.532 s0.619 s+0.087 s5.92 MiB6.09 MiB+ 177.2 KiB
/wp-admin/options-discussion.php0.229 s0.228 s-0.001 s3.48 MiB3.67 MiB+ 195.85 KiB
/wp-admin/edit-comments.php0.198 s0.167 s-0.031 s3.5 MiB3.69 MiB+ 195.35 KiB
/0.273 s0.167 s-0.106 s3.48 MiB3.51 MiB+ 33.8 KiB
Average 0.309 s0.293 s-0.016 s3.93 MiB4.11 MiB+ 184.34 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
Language % Lines of code Comment lines Files
PHP99.7%8,6431,63287
XML0.3%2601
Total 8,669 1,632 88

PHP Code Analysis | More results »

Lines of code 4,969
Total complexity 1,029
Median class complexity 6.0
Median method complexity 2.0
Most complex class luckywp\tableOfContents\core\wp\Settings
Most complex function luckywp\tableOfContents\front\Toc::render()
Classes 67
Methods 346
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 6

Sidebar Widgets 1

ID Name
lpwtoc_widgetTable of Contents

PHP Error Log 1 lines

[01-Apr-2025 13:35:20 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6114
See also: All tests for this plugin, How to Hide the "Table of Contents" Admin Menu