Baidu TextCensor For Comments 1.2.0

Does Baidu TextCensor For Comments work with WordPress 6.8.3 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: 4.53 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.8.3
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=35c93a27b3
Aspect after-activation
HTTP status 200
Load time 0.291 s
Memory usage 3.53 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.319 s
Memory usage 3.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.172 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.355 s0.291 s-0.064 s3.51 MiB3.52 MiB+ 10.22 KiB
/wp-admin/edit.php0.204 s0.192 s-0.012 s3.57 MiB3.58 MiB+ 10.22 KiB
/wp-admin/post-new.php0.827 s0.655 s-0.172 s6.06 MiB6.08 MiB+ 14.65 KiB
/wp-admin/upload.php0.802 s0.318 s-0.484 s3.52 MiB3.52 MiB- 7.19 KiB
/wp-admin/options-writing.php0.234 s0.177 s-0.057 s3.5 MiB3.5 MiB- 3.2 KiB
/wp-admin/media-new.php0.283 s0.243 s-0.040 s3.49 MiB3.5 MiB+ 5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.179 s-0.023 s3.5 MiB3.52 MiB+ 15.67 KiB
/wp-admin/post-new.php?post_type=page0.732 s0.632 s-0.100 s6.05 MiB6.06 MiB+ 10.17 KiB
/wp-admin/options-discussion.php0.314 s0.378 s+0.064 s3.5 MiB3.5 MiB- 6.7 KiB
/wp-admin/edit-comments.php0.498 s0.218 s-0.280 s3.52 MiB3.52 MiB- 7.2 KiB
/0.313 s0.208 s-0.105 s3.43 MiB3.44 MiB+ 8.18 KiB
Average 0.433 s0.317 s-0.116 s3.97 MiB3.97 MiB+ 4.53 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
PHP87.5%3651053
Markdown12.5%5201
Total 417 105 4

PHP Code Analysis | More results »

Lines of code 360
Total complexity 85
Median class complexity 35.0
Median method complexity 3.0
Most complex class Luffy\TextCensor\AipBase
Most complex function bdtc_submit_options()
Classes 1
Methods 10
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

The log file is empty.

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