Baidu TextCensor For Comments 1.1.0

Does Baidu TextCensor For Comments work with WordPress 6.5.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: -3.33 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.5.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=3889485d0c
Aspect after-activation
HTTP status 200
Load time 0.300 s
Memory usage 3.39 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.553 s
Memory usage 3.37 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.205 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.422 s0.357 s-0.065 s3.44 MiB3.44 MiB+ 8.76 KiB
/wp-admin/edit.php0.309 s0.213 s-0.096 s3.46 MiB3.47 MiB+ 8.71 KiB
/wp-admin/post-new.php0.914 s0.612 s-0.302 s5.59 MiB5.6 MiB+ 13.12 KiB
/wp-admin/upload.php0.628 s0.472 s-0.156 s3.38 MiB3.37 MiB- 8.66 KiB
/wp-admin/options-writing.php0.233 s0.205 s-0.028 s3.37 MiB3.36 MiB- 16.7 KiB
/wp-admin/media-new.php0.310 s0.207 s-0.103 s3.35 MiB3.35 MiB+ 3.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.200 s+0.005 s3.37 MiB3.38 MiB+ 8.7 KiB
/wp-admin/post-new.php?post_type=page0.556 s0.600 s+0.044 s5.59 MiB5.59 MiB+ 8.7 KiB
/wp-admin/options-discussion.php0.354 s0.258 s-0.096 s3.36 MiB3.35 MiB- 8.16 KiB
/wp-admin/edit-comments.php0.251 s0.208 s-0.043 s3.39 MiB3.38 MiB- 8.66 KiB
/0.312 s0.174 s-0.138 s3.42 MiB3.37 MiB- 46.02 KiB
Average 0.408 s0.319 s-0.089 s3.79 MiB3.79 MiB- 3.33 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.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