Collapsing Archives 3.0.2

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

Summary

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

Memory usage: -1.28 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 3,000+
WordPress.org page https://wordpress.org/plugins/collapsing-archives/
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-archives%2FcollapsArch.php&plugin_status=all&paged=1&s&_wpnonce=3ef6f12647
Aspect after-activation
HTTP status 200
Load time 0.278 s
Memory usage 2.78 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.187 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.283 s-0.073 s2.82 MiB2.85 MiB+ 23.32 KiB
/wp-admin/edit.php0.203 s0.210 s+0.007 s2.85 MiB2.87 MiB+ 23.32 KiB
/wp-admin/post-new.php0.759 s0.624 s-0.135 s5.21 MiB5.15 MiB- 68.34 KiB
/wp-admin/upload.php0.624 s0.485 s-0.139 s2.77 MiB2.77 MiB+ 5.91 KiB
/wp-admin/options-writing.php0.243 s0.233 s-0.010 s2.76 MiB2.76 MiB- 2.13 KiB
/wp-admin/media-new.php0.499 s0.206 s-0.293 s2.74 MiB2.76 MiB+ 18.1 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.200 s-0.003 s2.76 MiB2.78 MiB+ 23.27 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.570 s-0.018 s5.21 MiB5.14 MiB- 72.76 KiB
/wp-admin/options-discussion.php0.226 s0.230 s+0.004 s2.75 MiB2.75 MiB+ 6.41 KiB
/wp-admin/edit-comments.php0.425 s0.352 s-0.073 s2.78 MiB2.78 MiB+ 5.91 KiB
/0.292 s0.241 s-0.051 s3.13 MiB3.15 MiB+ 22.88 KiB
Average 0.402 s0.330 s-0.071 s3.25 MiB3.25 MiB- 1.28 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
PO File
Language % Lines of code Comment lines Files
PHP52.1%685635
JavaScript31.9%420836
PO File8.1%107461
JSON5.4%7102
Sass1.4%1802
Bourne Again Shell1.0%1311
CSS0.1%102
Total 1,315 193 19

PHP Code Analysis | More results »

Lines of code 545
Total complexity 150
Median class complexity 18.0
Median method complexity 3.0
Most complex class collapsArch
Most complex function list_archives()
Classes 1
Methods 5
Functions 4

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 1

PHP Error Log 2 lines

[31-Aug-2023 17:57:15 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/collapsing-archives/collapsArch.php on line 73
[31-Aug-2023 17:57:23 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/collapsing-archives/collapsArch.php on line 73
See also: All tests for this plugin