Collapsing Pages 2.0.3

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

Summary

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

Memory usage: 18.56 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/collapsing-pages/
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-pages%2FcollapsPage.php&plugin_status=all&paged=1&s&_wpnonce=3edd92a777
Aspect after-activation
HTTP status 200
Load time 0.265 s
Memory usage 3.54 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.189 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.329 s-0.041 s3.51 MiB3.53 MiB+ 22.89 KiB
/wp-admin/edit.php0.221 s0.257 s+0.036 s3.57 MiB3.6 MiB+ 24.25 KiB
/wp-admin/post-new.php0.851 s0.689 s-0.162 s6.06 MiB6.09 MiB+ 27.3 KiB
/wp-admin/upload.php0.813 s0.441 s-0.372 s3.52 MiB3.53 MiB+ 7.16 KiB
/wp-admin/options-writing.php0.239 s0.210 s-0.029 s3.5 MiB3.51 MiB+ 11.15 KiB
/wp-admin/media-new.php0.299 s0.202 s-0.097 s3.49 MiB3.51 MiB+ 19.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.174 s-0.039 s3.5 MiB3.53 MiB+ 30.02 KiB
/wp-admin/post-new.php?post_type=page0.757 s0.648 s-0.109 s6.05 MiB6.07 MiB+ 23.14 KiB
/wp-admin/options-discussion.php0.288 s0.385 s+0.097 s3.5 MiB3.51 MiB+ 7.65 KiB
/wp-admin/edit-comments.php0.542 s0.229 s-0.313 s3.52 MiB3.53 MiB+ 7.16 KiB
/0.332 s0.210 s-0.122 s3.43 MiB3.46 MiB+ 24.07 KiB
Average 0.448 s0.343 s-0.105 s3.97 MiB3.99 MiB+ 18.56 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
PHP54.9%1,0271278
JavaScript29.4%5491018
JSON7.6%14203
PO File6.4%120811
Sass1.0%1802
Bourne Again Shell0.7%1311
CSS0.1%102
Total 1,870 310 25

PHP Code Analysis | More results »

Lines of code 892
Total complexity 224
Median class complexity 15.0
Median method complexity 2.0
Most complex class collapsPage
Most complex function list_pages()
Classes 2
Methods 10
Functions 10

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 5

PHP Error Log 27 lines

[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 55
[19-Jul-2025 22:26:34 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 56
[19-Jul-2025 22:26:34 UTC] PHP Warning:  Undefined array key "" in /wp-content/plugins/collapsing-pages/collapsPage.php on line 56
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[19-Jul-2025 22:26:34 UTC] PHP Warning:  Undefined variable $style in /wp-content/plugins/collapsing-pages/collapsPage.php on line 62
[19-Jul-2025 22:26:34 UTC] PHP Warning:  Undefined variable $style in /wp-content/plugins/collapsing-pages/collapsPage.php on line 66
[19-Jul-2025 22:26:35 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/collapsing-pages/collapsPage.php on line 89
[19-Jul-2025 22:26:43 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/collapsing-pages/collapsPage.php on line 89
See also: All tests for this plugin