Collapsing Pages 2.0.1

Does Collapsing Pages work with WordPress 6.4.1 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: -3 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.4.1
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=176df1f2ea
Aspect after-activation
HTTP status 200
Load time 0.298 s
Memory usage 3.34 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.199 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.409 s0.384 s-0.025 s3.38 MiB3.4 MiB+ 22.01 KiB
/wp-admin/edit.php0.262 s0.244 s-0.018 s3.41 MiB3.43 MiB+ 22.38 KiB
/wp-admin/post-new.php0.986 s0.726 s-0.260 s5.46 MiB5.38 MiB- 76.5 KiB
/wp-admin/upload.php0.729 s0.481 s-0.248 s3.32 MiB3.33 MiB+ 4.97 KiB
/wp-admin/options-writing.php0.241 s0.228 s-0.013 s3.32 MiB3.31 MiB- 2.45 KiB
/wp-admin/media-new.php0.353 s0.246 s-0.107 s3.29 MiB3.31 MiB+ 17.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.237 s0.206 s-0.031 s3.31 MiB3.33 MiB+ 22.33 KiB
/wp-admin/post-new.php?post_type=page0.664 s0.648 s-0.016 s5.45 MiB5.37 MiB- 76.91 KiB
/wp-admin/options-discussion.php0.380 s0.263 s-0.117 s3.3 MiB3.31 MiB+ 5.46 KiB
/wp-admin/edit-comments.php0.286 s0.218 s-0.068 s3.33 MiB3.34 MiB+ 4.96 KiB
/0.328 s0.196 s-0.132 s3.31 MiB3.33 MiB+ 23.55 KiB
Average 0.443 s0.349 s-0.094 s3.72 MiB3.71 MiB- 3 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
JSON
PO File
Language % Lines of code Comment lines Files
PHP49.1%583675
JavaScript27.3%324776
JSON12.0%14203
PO File10.1%120811
Sass1.5%1802
CSS0.1%102
Total 1,188 225 19

PHP Code Analysis | More results »

Lines of code 890
Total complexity 222
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

[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 55
[13-Nov-2023 01:11:17 UTC] PHP Warning:  Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 56
[13-Nov-2023 01:11:17 UTC] PHP Warning:  Undefined array key "" in /wp-content/plugins/collapsing-pages/collapsPage.php on line 56
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 53
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $selected in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $default in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $block in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $noArrows in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  compact(): Undefined variable $custom in /wp-content/plugins/collapsing-pages/collapsPage.php on line 60
[13-Nov-2023 01:11:17 UTC] PHP Warning:  Undefined variable $style in /wp-content/plugins/collapsing-pages/collapsPage.php on line 62
[13-Nov-2023 01:11:17 UTC] PHP Warning:  Undefined variable $style in /wp-content/plugins/collapsing-pages/collapsPage.php on line 66
[13-Nov-2023 01:11:19 UTC] PHP Warning:  foreach() argument must be of type array|object, bool given in /wp-content/plugins/collapsing-pages/collapsPage.php on line 89
[13-Nov-2023 01:11:28 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