Collapsing Categories 3.0.5

Does Collapsing Categories work with WordPress 6.3.2 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.2
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=80bb392b70
Aspect after-activation
HTTP status 200
Load time 0.243 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.200 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.292 s-0.056 s2.83 MiB2.86 MiB+ 31.25 KiB
/wp-admin/edit.php0.207 s0.186 s-0.021 s2.85 MiB2.88 MiB+ 31.25 KiB
/wp-admin/post-new.php0.755 s0.600 s-0.155 s5.22 MiB5.16 MiB- 56.6 KiB
/wp-admin/upload.php0.559 s0.320 s-0.239 s2.77 MiB2.78 MiB+ 13.84 KiB
/wp-admin/options-writing.php0.203 s0.206 s+0.003 s2.76 MiB2.77 MiB+ 5.8 KiB
/wp-admin/media-new.php0.411 s0.196 s-0.215 s2.74 MiB2.77 MiB+ 26.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.249 s+0.082 s2.76 MiB2.79 MiB+ 31.2 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.546 s-0.074 s5.21 MiB5.15 MiB- 61.02 KiB
/wp-admin/options-discussion.php0.206 s0.235 s+0.029 s2.75 MiB2.76 MiB+ 14.34 KiB
/wp-admin/edit-comments.php0.226 s0.213 s-0.013 s2.78 MiB2.79 MiB+ 13.84 KiB
/0.275 s0.202 s-0.073 s3.13 MiB3.16 MiB+ 29.92 KiB
Average 0.362 s0.295 s-0.067 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,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

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