Baidu TextCensor For Comments 1.2.0

Does Baidu TextCensor For Comments work with WordPress 6.8.1 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.1
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=e708aa31e5
Aspect after-activation
HTTP status 200
Load time 0.370 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.258 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.206 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.299 s0.292 s-0.007 s3.51 MiB3.52 MiB+ 10.22 KiB
/wp-admin/edit.php0.204 s0.201 s-0.003 s3.57 MiB3.58 MiB+ 10.22 KiB
/wp-admin/post-new.php0.788 s0.647 s-0.141 s6.06 MiB6.08 MiB+ 14.65 KiB
/wp-admin/upload.php0.559 s0.483 s-0.076 s3.52 MiB3.52 MiB- 7.19 KiB
/wp-admin/options-writing.php0.201 s0.207 s+0.006 s3.5 MiB3.5 MiB- 3.2 KiB
/wp-admin/media-new.php0.269 s0.380 s+0.111 s3.49 MiB3.5 MiB+ 5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.235 s0.247 s+0.012 s3.5 MiB3.52 MiB+ 15.67 KiB
/wp-admin/post-new.php?post_type=page0.643 s0.646 s+0.003 s6.05 MiB6.06 MiB+ 10.17 KiB
/wp-admin/options-discussion.php0.494 s0.310 s-0.184 s3.5 MiB3.5 MiB- 6.7 KiB
/wp-admin/edit-comments.php0.204 s0.211 s+0.007 s3.52 MiB3.52 MiB- 7.2 KiB
/0.306 s0.196 s-0.110 s3.43 MiB3.44 MiB+ 8.18 KiB
Average 0.382 s0.347 s-0.035 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