Posts Per Category 0.1.2

Does Posts Per Category work with WordPress 6.8.2 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.2
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=702d897b00
Aspect after-activation
HTTP status 200
Load time 0.229 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.197 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.156 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.335 s0.266 s-0.069 s3.51 MiB3.52 MiB+ 19.99 KiB
/wp-admin/edit.php0.185 s0.182 s-0.003 s3.57 MiB3.59 MiB+ 19.01 KiB
/wp-admin/post-new.php0.718 s0.594 s-0.124 s6.06 MiB6.08 MiB+ 23.44 KiB
/wp-admin/upload.php0.535 s0.494 s-0.041 s3.52 MiB3.52 MiB+ 888 bytes
/wp-admin/options-writing.php0.210 s0.179 s-0.031 s3.5 MiB3.5 MiB+ 4.86 KiB
/wp-admin/media-new.php0.251 s0.223 s-0.028 s3.49 MiB3.5 MiB+ 13.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.180 s+0.002 s3.5 MiB3.53 MiB+ 23.73 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.543 s-0.040 s6.05 MiB6.07 MiB+ 18.96 KiB
/wp-admin/options-discussion.php0.424 s0.281 s-0.143 s3.5 MiB3.5 MiB+ 1.37 KiB
/wp-admin/edit-comments.php0.219 s0.182 s-0.037 s3.52 MiB3.52 MiB+ 880 bytes
/0.273 s0.358 s+0.085 s3.43 MiB3.44 MiB+ 5.52 KiB
Average 0.356 s0.317 s-0.039 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

[19-Jul-2025 02:13:49 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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13:52 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
[19-Jul-2025 02:13:52 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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13:56 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
[19-Jul-2025 02:13:56 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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13: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
[19-Jul-2025 02:13:59 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