Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▲5.20ms] Passed 4 tests
An overview of server-side resources used by 百度站长SEO合集(支持百度/神马/Bing/头条推送)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 43.21 ▲0.22 |
Dashboard /wp-admin | 3.45 ▲0.11 | 64.42 ▼0.03 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 70.32 ▲22.70 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 107.55 ▼2.11 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 60.79 ▲23.90 |
Server storage [IO: ▲4.51MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 133 new files
Database: 10 new tables, 6 new options
New tables |
---|
wp_baiduseo_keywords |
wp_baiduseo_ai_lishi |
wp_wztkj_friends |
wp_baiduseo_kp_log |
wp_baiduseo_neilian |
wp_baiduseo_long |
wp_baiduseo_zhizhu |
wp_baiduseo_zz |
wp_baiduseo_kp |
wp_baiduseo_zhizhu_suoyin |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by 百度站长SEO合集(支持百度/神马/Bing/头条推送)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲21 | 14.40 ▼0.16 | 1.94 ▲0.07 | 44.60 ▼0.15 |
Dashboard /wp-admin | 2,211 ▲31 | 5.51 ▼0.17 | 86.72 ▼1.10 | 46.59 ▲6.97 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.01 ▼0.01 | 35.79 ▲1.67 | 54.31 ▲19.10 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 22.85 ▲4.70 | 646.11 ▼6.43 | 52.25 ▼13.12 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.17 ▲0.03 | 103.98 ▼3.92 | 49.27 ▲1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 10 tables in the database
- wp_baiduseo_neilian
- wp_baiduseo_kp_log
- wp_baiduseo_zz
- wp_baiduseo_zhizhu
- wp_wztkj_friends
- wp_baiduseo_ai_lishi
- wp_baiduseo_long
- wp_baiduseo_keywords
- wp_baiduseo_zhizhu_suoyin
- wp_baiduseo_kp
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/baiduseo/seo_title_index_html13.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/baiduseo/seo_head.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/baiduseo/seo_title_index_html11.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add a description for screenshot #0 in baiduseo/assets to your readme.txt
- Screenshots: Please add images for these screenshots: #10 (站内死链查询及生成死链文件提交百度站长), #11 (关键词排名查询监控,可以实时查询关键词排名情况), #12 (tag标签内链功能), #13 (360站长JS自动推送), #14 (Bing站长JS自动推送), #15 (今日头条站长JS自动推送), #16 (文章原创率检测), #17 (文章伪原创)
- Tags: There are too many tags (14 tag instead of maximum 10)
baiduseo/seo_title_baidu.php 77% from 13 tests
The main PHP script in "百度站长SEO合集(支持百度/神马/Bing/头条推送)" version 1.8.3 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("baiduseo.php" instead of "seo_title_baidu.php")
- Plugin Name: Please shorten the plugin name (currently 73 characters long instead of max. 70)
- Description: The description should be shorter than 140 characters (currently 477 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected64,308 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 319 | 522 | 36,059 |
PHP | 27 | 1,316 | 449 | 18,158 |
CSS | 13 | 1,122 | 226 | 10,091 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 131.42 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 421.00 |
Average method complexity | 10.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 100.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 31 | 19.62% |
▷ Public methods | 158 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
69 PNG files occupy 0.61MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
image/logo.png | 59.53KB | 19.99KB | ▼ 66.41% |
image/toutiao1.png | 1.60KB | 1.47KB | ▼ 8.17% |
image/zl.png | 1.65KB | 1.70KB | 0.00% |
image/xinshouyindao.png | 1.17KB | 0.72KB | ▼ 38.53% |
image/baibaoxiang.png | 2.33KB | 0.88KB | ▼ 62.46% |