Select Main Category 1.0

Does Select Primary Category work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 7.56 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 <10
WordPress.org page https://wordpress.org/plugins/select-primary-category/
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=select-primary-category%2Fselect-primary-category.php&plugin_status=all&paged=1&s&_wpnonce=a02d95adcb
Aspect after-activation
HTTP status 200
Load time 0.235 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.191 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.237 s-0.086 s3.51 MiB3.52 MiB+ 13.06 KiB
/wp-admin/edit.php0.202 s0.218 s+0.016 s3.57 MiB3.58 MiB+ 13.06 KiB
/wp-admin/post-new.php0.746 s0.611 s-0.135 s6.06 MiB6.08 MiB+ 17.49 KiB
/wp-admin/upload.php0.750 s0.479 s-0.271 s3.52 MiB3.52 MiB- 4.34 KiB
/wp-admin/options-writing.php0.221 s0.332 s+0.111 s3.5 MiB3.5 MiB- 360 bytes
/wp-admin/media-new.php0.272 s0.253 s-0.019 s3.49 MiB3.5 MiB+ 7.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.189 s-0.010 s3.5 MiB3.52 MiB+ 18.52 KiB
/wp-admin/post-new.php?post_type=page0.597 s0.610 s+0.013 s6.05 MiB6.06 MiB+ 13.02 KiB
/wp-admin/options-discussion.php0.329 s0.387 s+0.058 s3.5 MiB3.5 MiB- 3.85 KiB
/wp-admin/edit-comments.php0.398 s0.200 s-0.198 s3.52 MiB3.52 MiB- 4.35 KiB
/0.340 s0.192 s-0.148 s3.43 MiB3.45 MiB+ 13.05 KiB
Average 0.398 s0.337 s-0.061 s3.97 MiB3.98 MiB+ 7.56 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
Markdown
Language % Lines of code Comment lines Files
PHP86.3%1201305
Markdown13.7%1901
Total 139 130 6

PHP Code Analysis | More results »

Lines of code 87
Total complexity 17
Median class complexity 5.0
Median method complexity 1.0
Most complex class SelectPrimaryCategory\Category_Meta_Box
Most complex function SelectPrimaryCategory\Category_Meta_Box::save_primary_category()
Classes 3
Methods 9
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

The log file is empty.

See also: All tests for this plugin