Collapsing Archives 3.0.4

Does Collapsing Archives work with WordPress 6.6.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: 48.39 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.6.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=4256b4d4ec
Aspect after-activation
HTTP status 200
Load time 0.241 s
Memory usage 3.51 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.206 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.317 s-0.035 s3.47 MiB3.5 MiB+ 27.42 KiB
/wp-admin/edit.php0.221 s0.204 s-0.017 s3.54 MiB3.57 MiB+ 29.15 KiB
/wp-admin/post-new.php0.820 s0.661 s-0.159 s5.75 MiB5.85 MiB+ 103.49 KiB
/wp-admin/upload.php0.654 s0.358 s-0.296 s3.49 MiB3.5 MiB+ 11.74 KiB
/wp-admin/options-writing.php0.201 s0.183 s-0.018 s3.41 MiB3.48 MiB+ 74.55 KiB
/wp-admin/media-new.php0.284 s0.328 s+0.044 s3.4 MiB3.48 MiB+ 87.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.190 s+0.010 s3.47 MiB3.5 MiB+ 34.6 KiB
/wp-admin/post-new.php?post_type=page0.597 s1.008 s+0.411 s5.75 MiB5.84 MiB+ 99.13 KiB
/wp-admin/options-discussion.php0.228 s0.248 s+0.020 s3.41 MiB3.48 MiB+ 76.23 KiB
/wp-admin/edit-comments.php0.228 s0.209 s-0.019 s3.49 MiB3.5 MiB+ 11.73 KiB
/0.314 s0.235 s-0.079 s3.45 MiB3.43 MiB- 23.7 KiB
Average 0.371 s0.358 s-0.013 s3.87 MiB3.92 MiB+ 48.39 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.2%687635
JavaScript31.9%420836
PO File8.1%107461
JSON5.4%7102
Sass1.4%1802
Bourne Again Shell1.0%1311
CSS0.1%102
Total 1,317 193 19

PHP Code Analysis | More results »

Lines of code 547
Total complexity 151
Median class complexity 19.0
Median method complexity 4.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

[25-Jul-2024 07:09:24 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/collapsing-archives/collapsArch.php on line 73
[25-Jul-2024 07:09:33 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