TOP Table Of Contents 1.3.7

Does TOP Table Of Contents work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
12JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 316.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.147 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/top-table-of-contents/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=top-table-of-contents%2Fboomdevs-toc.php&plugin_status=all&paged=1&s&_wpnonce=9bc7899974
Aspect after-activation
HTTP status 200
Load time 0.574 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

TOP Table Of Contents

Page screenshot: TOP Table Of Contents
URL /wp-admin/admin.php?page=boomdevs-toc-settings
Aspect menu-item
HTTP status 200
Load time 7.682 s
Memory usage 6.1 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 1.526 s
Memory usage 3.25 MiB
JS errors
[
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    }
]
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.778 s
Memory usage 5.31 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.796 s
Memory usage 5.3 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 0.946 s
Memory usage 5.12 MiB
JS errors
[
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: progress_bar_switcher is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/top-table-of-contents/public/js/boomdevs-toc-public.js?ver=1.3.7:170:9)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30158)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.4:2:30460)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.291 s0.381 s+0.090 s3.07 MiB3.32 MiB+ 254.42 KiB
/wp-admin/edit.php0.189 s0.618 s+0.429 s3.1 MiB3.69 MiB+ 606.57 KiB
/wp-admin/post-new.php0.786 s1.409 s+0.623 s5.02 MiB5.31 MiB+ 291.76 KiB
/wp-admin/upload.php0.569 s0.323 s-0.246 s3.02 MiB3.25 MiB+ 238.05 KiB
/wp-admin/options-writing.php0.178 s0.178 s+0.000 s3.01 MiB3.23 MiB+ 226.31 KiB
/wp-admin/media-new.php0.358 s0.223 s-0.135 s2.99 MiB3.24 MiB+ 249.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.555 s+0.361 s3.01 MiB3.55 MiB+ 558.61 KiB
/wp-admin/post-new.php?post_type=page0.613 s1.136 s+0.523 s5.01 MiB5.3 MiB+ 289.4 KiB
/wp-admin/options-discussion.php0.211 s0.261 s+0.050 s3 MiB3.23 MiB+ 240.05 KiB
/wp-admin/edit-comments.php0.216 s0.229 s+0.013 s3.03 MiB3.26 MiB+ 235.55 KiB
/0.317 s0.231 s-0.086 s2.97 MiB3.25 MiB+ 285.98 KiB
Average 0.357 s0.504 s+0.147 s3.38 MiB3.69 MiB+ 316.05 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
JavaScript
Sass
PO File
CSS
Language % Lines of code Comment lines Files
PHP39.6%17,1692,112108
JavaScript16.9%7,3096349
Sass15.5%6,740832
PO File15.0%6,5003,59120
CSS12.8%5,5465567
JSON0.2%8904
SVG0.0%303
Total 43,356 6,901 183

PHP Code Analysis | More results »

Lines of code 9,425
Total complexity 1,975
Median class complexity 14.0
Median method complexity 2.0
Most complex class CSF
Most complex function csf_get_google_fonts()
Classes 75
Methods 309
Functions 30

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 2

Sidebar Widgets 1

ID Name
boomdevs-toc-shortcode-widgetTOP Table Of Contents

Meta Boxes

{
    "post": {
        "boomdevs_metabox": {
            "title": "Disable TOP Table Of Contents",
            "context": "advanced"
        }
    },
    "page": {
        "boomdevs_metabox": {
            "title": "Disable TOP Table Of Contents",
            "context": "advanced"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide TOP Table Of Contents Admin Menus and Meta Boxes