Posts Per Category 0.1.2

Does Posts Per Category work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 11.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 version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/posts-per-category/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=posts-per-category%2Fposts-per-category.php&plugin_status=all&paged=1&s&_wpnonce=7365308cd6
Aspect after-activation
HTTP status 200
Load time 0.259 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Settings → Posts Per Category

Page screenshot: Settings → Posts Per Category
URL /wp-admin/options-general.php?page=posts-per-category
Aspect menu-item
HTTP status 200
Load time 0.222 s
Memory usage 3.53 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.185 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.324 s0.303 s-0.021 s3.51 MiB3.53 MiB+ 19.99 KiB
/wp-admin/edit.php0.209 s0.204 s-0.005 s3.57 MiB3.59 MiB+ 19.01 KiB
/wp-admin/post-new.php0.838 s0.645 s-0.193 s6.06 MiB6.08 MiB+ 23.44 KiB
/wp-admin/upload.php0.769 s0.505 s-0.264 s3.52 MiB3.52 MiB+ 888 bytes
/wp-admin/options-writing.php0.237 s0.184 s-0.053 s3.5 MiB3.51 MiB+ 4.86 KiB
/wp-admin/media-new.php0.276 s0.236 s-0.040 s3.49 MiB3.5 MiB+ 13.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.212 s-0.001 s3.5 MiB3.53 MiB+ 23.73 KiB
/wp-admin/post-new.php?post_type=page0.641 s0.630 s-0.011 s6.05 MiB6.07 MiB+ 18.96 KiB
/wp-admin/options-discussion.php0.496 s0.224 s-0.272 s3.5 MiB3.5 MiB+ 1.36 KiB
/wp-admin/edit-comments.php0.308 s0.180 s-0.128 s3.52 MiB3.52 MiB+ 880 bytes
/0.315 s0.177 s-0.138 s3.43 MiB3.44 MiB+ 5.52 KiB
Average 0.421 s0.318 s-0.102 s3.97 MiB3.98 MiB+ 11.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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP74.9%289303
CSS14.5%5621
JavaScript10.6%4101
Total 386 32 5

PHP Code Analysis | More results »

Lines of code 293
Total complexity 58
Median class complexity 29.0
Median method complexity 2.0
Most complex class Posts_Per_Category_Admin
Most complex function Posts_Per_Category_Admin::init()
Classes 2
Methods 16
Functions 0

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.

No new entries found.

PHP Error Log 15 lines

[03-May-2025 20:41:47 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:48 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:48 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:50 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:51 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:51 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:53 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:54 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:54 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:54 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:55 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:57 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:57 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:57 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
[03-May-2025 20:41:58 UTC] PHP Deprecated:  Hook contextual_help is <strong>deprecated</strong> since version 3.3.0! Use get_current_screen()-&gt;add_help_tab(), get_current_screen()-&gt;remove_help_tab() instead. in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide the "Posts Per Category" Admin Menu