Baidu TextCensor For Comments 1.1.1

Does Baidu TextCensor For Comments work with WordPress 6.7.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: -3.35 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.7.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=72522da69e
Aspect after-activation
HTTP status 200
Load time 0.288 s
Memory usage 3.5 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.362 s
Memory usage 3.49 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.166 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.270 s-0.059 s3.48 MiB3.49 MiB+ 8.88 KiB
/wp-admin/edit.php0.194 s0.189 s-0.005 s3.54 MiB3.55 MiB+ 8.88 KiB
/wp-admin/post-new.php0.767 s0.607 s-0.160 s5.92 MiB5.94 MiB+ 13.3 KiB
/wp-admin/upload.php0.547 s0.492 s-0.055 s3.49 MiB3.49 MiB- 8.53 KiB
/wp-admin/options-writing.php0.222 s0.193 s-0.029 s3.47 MiB3.47 MiB- 4.54 KiB
/wp-admin/media-new.php0.370 s0.194 s-0.176 s3.46 MiB3.47 MiB+ 3.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.177 s-0.014 s3.48 MiB3.49 MiB+ 14.33 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.602 s+0.002 s5.92 MiB5.93 MiB+ 8.83 KiB
/wp-admin/options-discussion.php0.264 s0.231 s-0.033 s3.47 MiB3.47 MiB- 8.04 KiB
/wp-admin/edit-comments.php0.418 s0.194 s-0.224 s3.49 MiB3.49 MiB- 8.54 KiB
/0.300 s0.196 s-0.104 s3.48 MiB3.41 MiB- 65.01 KiB
Average 0.382 s0.304 s-0.078 s3.93 MiB3.93 MiB- 3.35 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
PHP91.3%3451073
Markdown8.7%3301
Total 378 107 4

PHP Code Analysis | More results »

Lines of code 340
Total complexity 73
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 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