Admin Block Country 7.1.4

Does Admin Block Country work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 421.09 bytes
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/admin-block-country/
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=admin-block-country%2Fadmin-block-country.php&plugin_status=all&paged=1&s&_wpnonce=ecb5464a39
Aspect after-activation
HTTP status 200
Load time 0.871 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Block Country

Page screenshot: Block Country
URL /wp-admin/admin.php?page=admin-block-country%2Fadmin-block-country.php
Requested URL /wp-admin/admin.php?page=admin-block-country/admin-block-country.php
Aspect menu-item
HTTP status 200
Load time 0.647 s
Memory usage 3.33 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.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.455 s0.701 s+0.246 s3.43 MiB3.44 MiB+ 8.12 KiB
/wp-admin/edit.php0.233 s0.569 s+0.336 s3.46 MiB3.47 MiB+ 8.12 KiB
/wp-admin/post-new.php0.949 s1.043 s+0.094 s5.59 MiB5.6 MiB+ 11.69 KiB
/wp-admin/upload.php0.643 s0.806 s+0.163 s3.38 MiB3.37 MiB- 9.29 KiB
/wp-admin/options-writing.php0.242 s0.552 s+0.310 s3.37 MiB3.36 MiB- 17.33 KiB
/wp-admin/media-new.php0.316 s0.608 s+0.292 s3.35 MiB3.35 MiB+ 2.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.566 s+0.357 s3.37 MiB3.38 MiB+ 8.07 KiB
/wp-admin/post-new.php?post_type=page0.589 s0.977 s+0.388 s5.59 MiB5.59 MiB+ 7.27 KiB
/wp-admin/options-discussion.php0.341 s0.649 s+0.308 s3.36 MiB3.35 MiB- 8.8 KiB
/wp-admin/edit-comments.php0.288 s0.566 s+0.278 s3.39 MiB3.38 MiB- 9.26 KiB
/0.339 s0.204 s-0.135 s3.37 MiB3.37 MiB+ 3.03 KiB
Average 0.419 s0.658 s+0.240 s3.79 MiB3.79 MiB+ 421.09 bytes

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
Language % Lines of code Comment lines Files
PHP98.2%8,12813221
Markdown0.7%6201
Perl0.5%3921
JSON0.3%2101
CSS0.2%1401
JavaScript0.1%1001
Total 8,274 134 26

PHP Code Analysis | More results »

Lines of code 2,884
Total complexity 867
Median class complexity 46.0
Median method complexity 5.0
Most complex class AdminBlockCountry\ABCTomM8
Most complex function get_time_zone()
Classes 2
Methods 11
Functions 11

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 1

PHP Error Log 1 lines

[11-Apr-2024 15:05:37 UTC] PHP Deprecated:  Optional parameter $field_attributes declared before required parameter $container_element is implicitly treated as a required parameter in /wp-content/plugins/admin-block-country/lib/tom-m8te.php on line 84
See also: All tests for this plugin, How to Hide the "Block Country" Admin Menu