Easy Table of Contents 2.0.39

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

Summary

Errors
30PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 369.72 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 6

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=ddd2ca2129
Aspect after-activation
HTTP status 200
Load time 0.513 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Settings → Table of Contents

Page screenshot: Settings → Table of Contents
URL /wp-admin/options-general.php?page=table-of-contents
Aspect menu-item
HTTP status 200
Load time 0.227 s
Memory usage 3.19 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.194 s
Memory usage 2.99 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.647 s
Memory usage 5.21 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.631 s
Memory usage 5.2 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.202 s
Memory usage 5.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.258 s-0.025 s3.05 MiB3.27 MiB+ 225.67 KiB
/wp-admin/edit.php0.180 s0.208 s+0.028 s3.07 MiB3.29 MiB+ 223.69 KiB
/wp-admin/post-new.php0.761 s0.670 s-0.091 s4.97 MiB6.86 MiB+ 1.89 MiB
/wp-admin/upload.php0.660 s0.437 s-0.223 s2.99 MiB3.21 MiB+ 221.24 KiB
/wp-admin/options-writing.php0.170 s0.161 s-0.009 s2.99 MiB3.19 MiB+ 208.73 KiB
/wp-admin/media-new.php0.267 s0.223 s-0.044 s2.97 MiB3.2 MiB+ 233.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.210 s+0.029 s2.98 MiB3.23 MiB+ 257.31 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.653 s+0.030 s4.96 MiB5.2 MiB+ 242.19 KiB
/wp-admin/options-discussion.php0.199 s0.234 s+0.035 s2.98 MiB3.19 MiB+ 224.69 KiB
/wp-admin/edit-comments.php0.193 s0.211 s+0.018 s3 MiB3.24 MiB+ 240.31 KiB
/0.310 s0.186 s-0.124 s2.94 MiB2.99 MiB+ 51.16 KiB
Average 0.348 s0.314 s-0.034 s3.35 MiB3.72 MiB+ 369.72 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.8%4,5222,12113
CSS25.2%1,844344
JavaScript7.7%567985
PO File5.2%3781231
XML0.1%701
Total 7,318 2,376 24

PHP Code Analysis | More results »

Lines of code 3,905
Total complexity 675
Median class complexity 44.5
Median method complexity 3.0
Most complex class ezTOC
Most complex function ezTOC_Option::getRegistered()
Classes 8
Methods 134
Functions 27

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 3

Sidebar Widgets 1

ID Name
ezw_tcoTable of Contents

Meta Boxes

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

PHP Error Log 30 lines

[30-Nov-2022 06:59:22 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1149
[30-Nov-2022 06:59:22 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1159
[30-Nov-2022 06:59:22 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1154
[30-Nov-2022 06:59:22 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1144
[30-Nov-2022 06:59:22 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1139
[30-Nov-2022 06:59:22 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1164
[30-Nov-2022 06:59:26 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1149
[30-Nov-2022 06:59:26 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1159
[30-Nov-2022 06:59:26 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1154
[30-Nov-2022 06:59:26 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1144
[30-Nov-2022 06:59:26 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1139
[30-Nov-2022 06:59:26 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1164
[30-Nov-2022 06:59:29 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1149
[30-Nov-2022 06:59:29 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1159
[30-Nov-2022 06:59:29 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1154
[30-Nov-2022 06:59:29 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1144
[30-Nov-2022 06:59:29 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1139
[30-Nov-2022 06:59:29 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1164
[30-Nov-2022 06:59:31 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1149
[30-Nov-2022 06:59:31 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1159
[30-Nov-2022 06:59:31 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1154
[30-Nov-2022 06:59:31 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1144
[30-Nov-2022 06:59:31 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1139
[30-Nov-2022 06:59:31 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1164
[30-Nov-2022 06:59:37 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1149
[30-Nov-2022 06:59:37 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1159
[30-Nov-2022 06:59:37 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1154
[30-Nov-2022 06:59:37 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1144
[30-Nov-2022 06:59:37 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1139
[30-Nov-2022 06:59:37 UTC] PHP Deprecated:  Return type of TagFilterNodeIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/easy-table-of-contents/includes/vendor/ultimate-web-scraper/tag_filter.php on line 1164
See also: All tests for this plugin, How to Hide Easy Table of Contents Admin Menus and Meta Boxes