Collapsing Pages 2.0.2

Does Collapsing Pages work with WordPress 6.4.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: -7.79 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.022 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.4.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=a5301f5e1e
Aspect after-activation
HTTP status 200
Load time 0.476 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.236 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.357 s0.367 s+0.010 s3.38 MiB3.4 MiB+ 22.01 KiB
/wp-admin/edit.php0.239 s0.225 s-0.014 s3.41 MiB3.43 MiB+ 22.38 KiB
/wp-admin/post-new.php0.993 s0.729 s-0.264 s5.46 MiB5.38 MiB- 76.5 KiB
/wp-admin/upload.php0.576 s0.436 s-0.140 s3.32 MiB3.33 MiB+ 4.97 KiB
/wp-admin/options-writing.php0.229 s0.224 s-0.005 s3.32 MiB3.31 MiB- 2.45 KiB
/wp-admin/media-new.php0.349 s0.335 s-0.014 s3.29 MiB3.31 MiB+ 17.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.194 s-0.019 s3.31 MiB3.33 MiB+ 22.33 KiB
/wp-admin/post-new.php?post_type=page0.615 s1.473 s+0.858 s5.45 MiB5.37 MiB- 76.91 KiB
/wp-admin/options-discussion.php0.375 s0.261 s-0.114 s3.3 MiB3.31 MiB+ 5.46 KiB
/wp-admin/edit-comments.php0.246 s0.227 s-0.019 s3.34 MiB3.34 MiB+ 4.96 KiB
/0.293 s0.261 s-0.032 s3.36 MiB3.33 MiB- 29.07 KiB
Average 0.408 s0.430 s+0.022 s3.72 MiB3.71 MiB- 7.79 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

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