Blocked in China 1.0.6

Does Blocked in China work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: 0.026 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 40+
WordPress.org page https://wordpress.org/plugins/blocked-in-china/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

Blocked in China ‹ Test site — WordPress

Page screenshot: Blocked in China ‹ Test site — WordPress
URL /wp-admin/admin.php?page=blocked-in-china
Requested URL /wp-admin/plugins.php?action=activate&plugin=blocked-in-china%2Fblocked-in-china.php&plugin_status=all&paged=1&s&_wpnonce=007cd69763
Aspect after-activation
HTTP status 200
Load time 0.482 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Blocked in China

Page screenshot: Blocked in China
URL /wp-admin/admin.php?page=blocked-in-china
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Blocked in China → Schedule

Page screenshot: Blocked in China → Schedule
URL /wp-admin/admin.php?page=blocked-in-china&tab=schedule
Aspect menu-item-tab
HTTP status 200
Load time 0.164 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Blocked in China → Log

Page screenshot: Blocked in China → Log
URL /wp-admin/admin.php?page=blocked-in-china&tab=log
Aspect menu-item-tab
HTTP status 200
Load time 0.176 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Blocked in China → China Plugins Bundle

Page screenshot: Blocked in China → China Plugins Bundle
URL /wp-admin/admin.php?page=blocked-in-china&tab=bundle
Aspect menu-item-tab
HTTP status 200
Load time 0.207 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Blocked in China → Affiliation

Page screenshot: Blocked in China → Affiliation
URL /wp-admin/admin.php?page=blocked-in-china-affiliation
Aspect menu-item
HTTP status 200
Load time 0.923 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

Blocked in China → Contact Us

Page screenshot: Blocked in China → Contact Us
URL /wp-admin/admin.php?page=blocked-in-china-contact
Aspect menu-item
HTTP status 200
Load time 0.749 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Blocked in China → Support Forum

Page screenshot: Blocked in China → Support Forum
URL https://wordpress.org/support/plugin/blocked-in-china/
Requested URL /wp-admin/admin.php?page=blocked-in-china-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 3.087 s
Memory usage N/A
JS errors None
Resource errors None

Blocked in China → Upgrade  ➤

Page screenshot: Blocked in China → Upgrade  ➤
URL /wp-admin/admin.php?page=blocked-in-china-pricing
Aspect menu-item
HTTP status 200
Load time 1.021 s
Memory usage 3.54 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.306 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.378 s0.470 s+0.092 s3.44 MiB3.63 MiB+ 202.3 KiB
/wp-admin/edit.php0.226 s0.246 s+0.020 s3.46 MiB3.66 MiB+ 202.66 KiB
/wp-admin/post-new.php0.940 s1.036 s+0.096 s5.59 MiB5.76 MiB+ 167.3 KiB
/wp-admin/upload.php0.596 s0.446 s-0.150 s3.38 MiB3.5 MiB+ 122.45 KiB
/wp-admin/options-writing.php0.209 s0.213 s+0.004 s3.37 MiB3.48 MiB+ 113.22 KiB
/wp-admin/media-new.php0.307 s0.474 s+0.167 s3.35 MiB3.48 MiB+ 133.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.521 s+0.330 s3.37 MiB3.5 MiB+ 138.62 KiB
/wp-admin/post-new.php?post_type=page0.564 s0.635 s+0.071 s5.59 MiB5.74 MiB+ 158.88 KiB
/wp-admin/options-discussion.php0.240 s0.304 s+0.064 s3.36 MiB3.48 MiB+ 125.18 KiB
/wp-admin/edit-comments.php0.501 s0.239 s-0.262 s3.39 MiB3.51 MiB+ 121.29 KiB
/0.360 s0.211 s-0.149 s3.37 MiB3.45 MiB+ 90.91 KiB
Average 0.410 s0.436 s+0.026 s3.79 MiB3.93 MiB+ 143.29 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
Language % Lines of code Comment lines Files
PHP97.1%33,85617,236123
SVG1.8%62722
JavaScript1.0%350874
CSS0.1%48014
Total 34,881 17,325 143

PHP Code Analysis | More results »

Lines of code 23,817
Total complexity 6,010
Median class complexity 18.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 49
Methods 1,269
Functions 111

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 4

PHP Error Log 12 lines

[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 185
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 185
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 185
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 193
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 193
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 193
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 185
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 185
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 185
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 193
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 193
[17-Apr-2024 18:21:51 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/blocked-in-china/admin/templates/form.php on line 193
See also: All tests for this plugin, How to Hide Blocked in China Admin Menus