Collapsing Categories 3.0.3

Does Collapsing Categories work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 7.26 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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/collapsing-categories/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=collapsing-categories%2Fcollapscat.php&plugin_status=all&paged=1&s&_wpnonce=5241ee8ad3
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 2.79 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.171 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.274 s-0.074 s2.82 MiB2.85 MiB+ 31.25 KiB
/wp-admin/edit.php0.199 s0.179 s-0.020 s2.85 MiB2.88 MiB+ 31.25 KiB
/wp-admin/post-new.php0.725 s0.611 s-0.114 s5.21 MiB5.16 MiB- 56.6 KiB
/wp-admin/upload.php0.600 s0.239 s-0.361 s2.77 MiB2.78 MiB+ 13.84 KiB
/wp-admin/options-writing.php0.235 s0.178 s-0.057 s2.76 MiB2.77 MiB+ 5.8 KiB
/wp-admin/media-new.php0.372 s0.177 s-0.195 s2.74 MiB2.76 MiB+ 26.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.331 s+0.138 s2.76 MiB2.79 MiB+ 31.2 KiB
/wp-admin/post-new.php?post_type=page0.576 s0.621 s+0.045 s5.21 MiB5.15 MiB- 61.02 KiB
/wp-admin/options-discussion.php0.475 s0.213 s-0.262 s2.75 MiB2.76 MiB+ 14.34 KiB
/wp-admin/edit-comments.php0.247 s0.204 s-0.043 s2.78 MiB2.79 MiB+ 13.84 KiB
/0.277 s0.201 s-0.076 s3.13 MiB3.16 MiB+ 29.92 KiB
Average 0.386 s0.293 s-0.093 s3.25 MiB3.26 MiB+ 7.26 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
Language % Lines of code Comment lines Files
PHP63.9%1,1821047
JavaScript25.4%470816
PO File4.9%901702
JSON4.1%7602
Sass1.0%1802
Bourne Again Shell0.7%1311
CSS0.1%102
Total 1,850 356 22

PHP Code Analysis | More results »

Lines of code 895
Total complexity 257
Median class complexity 34.0
Median method complexity 3.0
Most complex class CollapsCat
Most complex function list_categories()
Classes 1
Methods 8
Functions 17

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

PHP Error Log 15 lines

[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/collapsing-categories/collapscat.php on line 59
[31-Aug-2023 08:05:46 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/collapsing-categories/collapscat.php on line 60
[31-Aug-2023 08:05:46 UTC] PHP Warning:  Undefined array key "" in /wp-content/plugins/collapsing-categories/collapscat.php on line 60
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-categories/collapscat.php on line 57
[31-Aug-2023 08:05:46 UTC] PHP Warning:  Undefined variable $style in /wp-content/plugins/collapsing-categories/collapscat.php on line 65
[31-Aug-2023 08:05:46 UTC] PHP Warning:  Undefined variable $style in /wp-content/plugins/collapsing-categories/collapscat.php on line 73
See also: All tests for this plugin