Baidu TextCensor For Comments 1.0.7

Does Baidu TextCensor For Comments work with WordPress 5.8 and PHP 7.4.8? 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: 5.51 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 version5.8
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/baidu-textcensor/
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=baidu-textcensor%2Fwp-baidu-textcensor.php&plugin_status=all&paged=1&s&_wpnonce=88ab0459a2
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Settings → 评论内容审核设置

Page screenshot: Settings → 评论内容审核设置
URL /wp-admin/options-general.php?page=Baidu_Text_Censor
Aspect menu-item
HTTP status 200
Load time 0.317 s
Memory usage 3.01 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.242 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.291 s-0.046 s3.08 MiB3.09 MiB+ 7.19 KiB
/wp-admin/edit.php0.175 s0.191 s+0.016 s3.11 MiB3.12 MiB+ 7.19 KiB
/wp-admin/post-new.php1.016 s0.930 s-0.086 s5.27 MiB5.28 MiB+ 11.55 KiB
/wp-admin/upload.php0.679 s0.311 s-0.368 s3.03 MiB3.04 MiB+ 6.05 KiB
/wp-admin/options-writing.php0.146 s0.143 s-0.003 s3.02 MiB3.01 MiB- 9.97 KiB
/wp-admin/media-new.php0.253 s0.184 s-0.069 s3.01 MiB3.01 MiB+ 6.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.323 s+0.161 s3.04 MiB3.05 MiB+ 7.13 KiB
/wp-admin/post-new.php?post_type=page1.124 s1.013 s-0.111 s5.26 MiB5.26 MiB+ 7.13 KiB
/wp-admin/options-discussion.php0.301 s0.300 s-0.001 s3 MiB3.01 MiB+ 6.54 KiB
/wp-admin/edit-comments.php0.222 s0.214 s-0.008 s3.04 MiB3.05 MiB+ 6.04 KiB
/0.291 s0.224 s-0.067 s2.91 MiB2.92 MiB+ 5.54 KiB
Average 0.428 s0.375 s-0.053 s3.43 MiB3.44 MiB+ 5.51 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
PHP89.7%2861033
Markdown10.3%3301
Total 319 103 4

PHP Code Analysis | More results »

Lines of code 283
Total complexity 61
Median class complexity 33.0
Median method complexity 3.0
Most complex class Luffy\TextCensor\AipBase
Most complex function bdtc_submit_options()
Classes 1
Methods 10
Functions 7

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "评论内容审核设置" Admin Menu