LuckyWP Table of Contents 2.1.8

Does LuckyWP Table of Contents work with WordPress 6.6.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: 230.1 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.6.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=a1fb0562f9
Aspect after-activation
HTTP status 200
Load time 0.286 s
Memory usage 3.77 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.263 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.231 s
Memory usage 3.66 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.177 s
Memory usage 3.66 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.148 s
Memory usage 3.66 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.162 s
Memory usage 3.66 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.426 s
Memory usage 3.99 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.211 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 2.310 s
Memory usage 5.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.321 s0.308 s-0.013 s3.47 MiB3.68 MiB+ 210.8 KiB
/wp-admin/edit.php0.200 s0.188 s-0.012 s3.54 MiB3.74 MiB+ 212.16 KiB
/wp-admin/post-new.php0.726 s0.700 s-0.026 s5.75 MiB6.05 MiB+ 304.98 KiB
/wp-admin/upload.php0.521 s0.478 s-0.043 s3.49 MiB3.68 MiB+ 195.13 KiB
/wp-admin/options-writing.php0.196 s0.209 s+0.013 s3.41 MiB3.66 MiB+ 257.93 KiB
/wp-admin/media-new.php0.238 s0.203 s-0.035 s3.4 MiB3.66 MiB+ 271.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.184 s-0.010 s3.47 MiB3.68 MiB+ 217.98 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.608 s+0.042 s5.75 MiB6.04 MiB+ 300.62 KiB
/wp-admin/options-discussion.php0.208 s0.237 s+0.029 s3.41 MiB3.66 MiB+ 259.62 KiB
/wp-admin/edit-comments.php0.206 s0.195 s-0.011 s3.49 MiB3.68 MiB+ 195.12 KiB
/0.292 s0.279 s-0.013 s3.4 MiB3.51 MiB+ 105.48 KiB
Average 0.333 s0.326 s-0.007 s3.87 MiB4.1 MiB+ 230.1 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,6141,62987
XML0.3%2601
Total 8,640 1,629 88

PHP Code Analysis | More results »

Lines of code 4,940
Total complexity 1,024
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 345
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

[28-Oct-2024 07:54:31 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 6085
See also: All tests for this plugin, How to Hide the "Table of Contents" Admin Menu