List category posts 0.83.1

Does List category posts work with WordPress 5.7.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 14.97 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 version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/list-category-posts/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=list-category-posts%2Flist-category-posts.php&plugin_status=all&paged=1&s&_wpnonce=7cdc3e4e2d
Aspect after-activation
HTTP status 200
Load time 0.370 s
Memory usage 2.8 MiB
JS errors None
Resource errors None

Settings → List Category Posts

Page screenshot: Settings → List Category Posts
URL /wp-admin/options-general.php?page=list-category-posts
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 2.69 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.215 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.605 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.265 s0.264 s-0.001 s2.82 MiB2.84 MiB+ 22.48 KiB
/wp-admin/edit.php0.185 s0.209 s+0.024 s2.86 MiB2.88 MiB+ 22.48 KiB
/wp-admin/post-new.php0.898 s0.923 s+0.025 s5.02 MiB5.06 MiB+ 34.66 KiB
/wp-admin/upload.php0.478 s0.261 s-0.217 s2.7 MiB2.72 MiB+ 21.34 KiB
/wp-admin/options-writing.php0.271 s0.155 s-0.116 s2.71 MiB2.7 MiB- 10.68 KiB
/wp-admin/media-new.php0.231 s0.159 s-0.072 s2.67 MiB2.69 MiB+ 21.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.322 s+0.129 s2.77 MiB2.79 MiB+ 22.42 KiB
/wp-admin/post-new.php?post_type=page1.195 s0.634 s-0.561 s5.01 MiB5.04 MiB+ 30.25 KiB
/wp-admin/options-discussion.php0.320 s0.285 s-0.035 s2.67 MiB2.7 MiB+ 21.83 KiB
/wp-admin/edit-comments.php0.235 s0.228 s-0.007 s2.78 MiB2.8 MiB+ 21.33 KiB
/0.263 s0.215 s-0.048 s2.71 MiB2.66 MiB- 42.95 KiB
Average 0.412 s0.332 s-0.080 s3.16 MiB3.17 MiB+ 14.97 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
PO File
Language % Lines of code Comment lines Files
PHP60.8%2,00556415
PO File39.0%1,28746311
CSS0.2%601
Total 3,298 1,027 27

PHP Code Analysis | More results »

Lines of code 1,725
Total complexity 431
Median class complexity 23.0
Median method complexity 2.0
Most complex class CatList
Most complex function ListCategoryPostsWidget::widget()
Classes 11
Methods 110
Functions 8

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 2

Sidebar Widgets 1

ID Name
listcategorypostswidgetList Category Posts

PHP Error Log 3 lines

[15-Apr-2021 05:26:19 UTC] PHP Warning:  scandir(/wp-content/themes/twentyseventeen/list-category-posts/): failed to open dir: No such file or directory in /wp-content/plugins/list-category-posts/include/lcp-templater.php on line 108
[15-Apr-2021 05:26:19 UTC] PHP Warning:  scandir(): (errno 2): No such file or directory in /wp-content/plugins/list-category-posts/include/lcp-templater.php on line 108
[15-Apr-2021 05:26:19 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/list-category-posts/include/lcp-templater.php on line 108
See also: All tests for this plugin, How to Hide the "List Category Posts" Admin Menu