Collapsing Categories 3.0.7

Does Collapsing Categories work with WordPress 6.4.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: 6.27 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.4.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=d88d3a1c73
Aspect after-activation
HTTP status 200
Load time 0.299 s
Memory usage 3.35 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.199 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.422 s0.370 s-0.052 s3.38 MiB3.41 MiB+ 34.73 KiB
/wp-admin/edit.php0.282 s0.215 s-0.067 s3.41 MiB3.44 MiB+ 35.1 KiB
/wp-admin/post-new.php0.944 s0.951 s+0.007 s5.46 MiB5.4 MiB- 55.96 KiB
/wp-admin/upload.php0.671 s0.451 s-0.220 s3.32 MiB3.34 MiB+ 17.69 KiB
/wp-admin/options-writing.php0.244 s0.254 s+0.010 s3.32 MiB3.33 MiB+ 10.28 KiB
/wp-admin/media-new.php0.350 s0.198 s-0.152 s3.29 MiB3.32 MiB+ 29.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.220 s+0.001 s3.31 MiB3.35 MiB+ 35.05 KiB
/wp-admin/post-new.php?post_type=page0.827 s0.665 s-0.162 s5.45 MiB5.39 MiB- 56.38 KiB
/wp-admin/options-discussion.php0.352 s0.276 s-0.076 s3.3 MiB3.32 MiB+ 18.19 KiB
/wp-admin/edit-comments.php0.261 s0.224 s-0.037 s3.33 MiB3.35 MiB+ 17.69 KiB
/0.299 s0.243 s-0.056 s3.36 MiB3.34 MiB- 17.28 KiB
Average 0.443 s0.370 s-0.073 s3.72 MiB3.73 MiB+ 6.27 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,1831047
JavaScript25.4%470816
PO File4.9%901702
JSON4.1%7602
Sass1.0%1802
Bourne Again Shell0.7%1311
CSS0.1%102
Total 1,851 356 22

PHP Code Analysis | More results »

Lines of code 896
Total complexity 258
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

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