Baidu TextCensor For Comments 1.0.8

Does Baidu TextCensor For Comments work with WordPress 6.2.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: -701.82 bytes
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.2.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/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=f9cd901f5e
Aspect after-activation
HTTP status 200
Load time 0.242 s
Memory usage 3.02 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.316 s
Memory usage 3 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.237 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.296 s0.223 s-0.073 s3.07 MiB3.08 MiB+ 7.03 KiB
/wp-admin/edit.php0.201 s0.183 s-0.018 s3.1 MiB3.11 MiB+ 6.99 KiB
/wp-admin/post-new.php0.771 s0.922 s+0.151 s5.02 MiB5.03 MiB+ 11.4 KiB
/wp-admin/upload.php0.544 s0.262 s-0.282 s3.02 MiB3.01 MiB- 10.38 KiB
/wp-admin/options-writing.php0.175 s0.136 s-0.039 s3.01 MiB2.99 MiB- 23.62 KiB
/wp-admin/media-new.php0.345 s0.224 s-0.121 s2.99 MiB2.99 MiB+ 1.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.177 s-0.008 s3.01 MiB3.01 MiB+ 6.98 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.722 s+0.119 s5.01 MiB5.02 MiB+ 6.98 KiB
/wp-admin/options-discussion.php0.213 s0.258 s+0.045 s3 MiB2.99 MiB- 9.88 KiB
/wp-admin/edit-comments.php0.216 s0.199 s-0.017 s3.03 MiB3.02 MiB- 10.38 KiB
/0.293 s0.211 s-0.082 s2.97 MiB2.98 MiB+ 5.52 KiB
Average 0.349 s0.320 s-0.030 s3.38 MiB3.38 MiB- 701.82 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
Markdown
Language % Lines of code Comment lines Files
PHP91.0%3341043
Markdown9.0%3301
Total 367 104 4

PHP Code Analysis | More results »

Lines of code 331
Total complexity 70
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 9

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