Collapsing Categories 3.0.8

Does Collapsing Categories work with WordPress 6.7.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: 15.49 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.7.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=1fb0272ede
Aspect after-activation
HTTP status 200
Load time 0.276 s
Memory usage 3.53 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.168 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.314 s0.316 s+0.002 s3.48 MiB3.52 MiB+ 35.65 KiB
/wp-admin/edit.php0.192 s0.188 s-0.004 s3.54 MiB3.58 MiB+ 37.38 KiB
/wp-admin/post-new.php0.751 s0.650 s-0.101 s5.92 MiB5.91 MiB- 12.06 KiB
/wp-admin/upload.php0.548 s0.430 s-0.118 s3.49 MiB3.51 MiB+ 20.28 KiB
/wp-admin/options-writing.php0.228 s0.203 s-0.025 s3.47 MiB3.5 MiB+ 24.27 KiB
/wp-admin/media-new.php0.345 s0.151 s-0.194 s3.46 MiB3.49 MiB+ 32.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.185 s+0.008 s3.48 MiB3.52 MiB+ 43.14 KiB
/wp-admin/post-new.php?post_type=page0.591 s0.614 s+0.023 s5.92 MiB5.9 MiB- 16.18 KiB
/wp-admin/options-discussion.php0.447 s0.239 s-0.208 s3.47 MiB3.49 MiB+ 20.77 KiB
/wp-admin/edit-comments.php0.225 s0.197 s-0.028 s3.49 MiB3.51 MiB+ 20.27 KiB
/0.286 s0.185 s-0.101 s3.48 MiB3.44 MiB- 35.66 KiB
Average 0.373 s0.305 s-0.068 s3.93 MiB3.94 MiB+ 15.49 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 260
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

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