Blocked in China 1.0.2

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

Summary

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

Memory usage: 515.62 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 6

Blocked In China Options ‹ Test site — WordPress

Page screenshot: Blocked In China Options ‹ Test site — WordPress
URL /wp-admin/options-general.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=ba101e8a9f
Aspect after-activation
HTTP status 200
Load time 1.143 s
Memory usage 4.41 MiB
JS errors None
Resource errors None

Settings → Blocked in China

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

Settings → Affiliation

Page screenshot: Settings → Affiliation
URL /wp-admin/options-general.php?page=blocked-in-china-affiliation
Aspect menu-item
HTTP status 200
Load time 0.466 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

Settings → Contact Us

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

Settings → Upgrade  ➤

Page screenshot: Settings → Upgrade  ➤
URL /wp-admin/options-general.php?page=blocked-in-china-pricing
Aspect menu-item
HTTP status 200
Load time 0.196 s
Memory usage 4.52 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.232 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.299 s-0.029 s3.72 MiB4.23 MiB+ 524.66 KiB
/wp-admin/edit.php0.187 s0.216 s+0.029 s3.75 MiB4.27 MiB+ 524.58 KiB
/wp-admin/post-new.php0.778 s0.949 s+0.171 s5.54 MiB6 MiB+ 464.7 KiB
/wp-admin/upload.php0.384 s0.514 s+0.130 s3.68 MiB4.19 MiB+ 524.13 KiB
/wp-admin/options-writing.php0.160 s0.184 s+0.024 s3.62 MiB4.17 MiB+ 569.6 KiB
/wp-admin/media-new.php0.432 s0.217 s-0.215 s3.66 MiB4.17 MiB+ 524.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.234 s0.213 s-0.021 s3.69 MiB4.2 MiB+ 525.84 KiB
/wp-admin/post-new.php?post_type=page0.680 s0.663 s-0.017 s5.54 MiB5.99 MiB+ 463.99 KiB
/wp-admin/options-discussion.php0.240 s0.233 s-0.007 s3.59 MiB4.17 MiB+ 589.55 KiB
/wp-admin/edit-comments.php0.221 s0.205 s-0.016 s3.69 MiB4.21 MiB+ 524.6 KiB
/0.288 s0.203 s-0.085 s3.6 MiB4.03 MiB+ 435.58 KiB
Average 0.357 s0.354 s-0.003 s4.01 MiB4.51 MiB+ 515.62 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
PHP99.4%62,68464217
CSS0.3%18982
JavaScript0.3%161272
JSON0.0%1201
Total 63,046 677 22

PHP Code Analysis | More results »

Lines of code 5,073
Total complexity 369
Median class complexity 6.5
Median method complexity 2.0
Most complex class Installer
Most complex function HttpClient::getPackagedCaFile()
Classes 14
Methods 78
Functions 20

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 9

PHP Error Log 49 lines

[22-Jul-2022 22:02:48 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:48 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'activate_blocked_in_china' not found or invalid function name in /wp-includes/class-wp-hook.php on line 307
[22-Jul-2022 22:02:48 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:49 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:50 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:50 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:50 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:51 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:51 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:53 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:54 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:55 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:55 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:56 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:56 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:56 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:58 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:59 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:59 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:02:59 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:00 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:00 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:01 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:02 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:02 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:02 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:02 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:03 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
[22-Jul-2022 22:03:03 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/blocked-in-china/includes/Blockedinchina.php on line 193
See also: All tests for this plugin, How to Hide Blocked in China Admin Menus