Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲3.08ms] Passed 4 tests
This is a short check of server-side resources used by Super Fast SEO优化插件
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 36.03 ▼6.53 |
Dashboard /wp-admin | 3.35 ▲0.05 | 54.93 ▲7.82 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 57.85 ▲9.09 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 99.78 ▲1.92 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 50.95 ▲15.49 |
生成 robots.txt /wp-admin/admin.php?page=superfastseo_robots_set | 3.27 | 40.18 |
百度实时主动推送 /wp-admin/admin.php?page=superfastseo_baidu_submit | 3.27 | 39.31 |
过滤HTML垃圾代码 /wp-admin/admin.php?page=articlefilters | 3.27 | 40.99 |
自定义关健词内链 /wp-admin/admin.php?page=keywordlink | 3.26 | 38.63 |
图片压缩处理 /wp-admin/admin.php?page=imgcompress | 3.27 | 39.02 |
SEO TDK优化 /wp-admin/admin.php?page=superfast_meta | 3.33 | 38.85 |
指定文章添加内链 /wp-admin/admin.php?page=keyword_link | 3.26 | 40.58 |
屏蔽垃圾蜘蛛 /wp-admin/admin.php?page=superfastseo_none_ua | 3.27 | 38.22 |
后台安全增强 /wp-admin/admin.php?page=adminsafe | 3.29 | 38.95 |
TAGS优化设置 /wp-admin/admin.php?page=superfastseo_tags_set | 3.27 | 38.82 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Super Fast SEO优化插件
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 13.25 ▼1.05 | 4.60 ▲2.80 | 39.73 ▼3.68 |
Dashboard /wp-admin | 2,292 ▲103 | 4.83 ▼0.13 | 98.02 ▼9.14 | 49.75 ▲5.12 |
Posts /wp-admin/edit.php | 2,172 ▲83 | 2.06 ▲0.00 | 40.09 ▼3.00 | 47.08 ▲12.22 |
Add New Post /wp-admin/post-new.php | 6,344 ▲4,811 | 21.73 ▼1.63 | 913.20 ▲222.21 | 105.36 ▲39.79 |
Media Library /wp-admin/upload.php | 1,468 ▲77 | 4.16 ▼0.01 | 93.61 ▼5.16 | 54.74 ▲8.15 |
生成 robots.txt /wp-admin/admin.php?page=superfastseo_robots_set | 881 | 2.02 | 24.30 | 58.28 |
百度实时主动推送 /wp-admin/admin.php?page=superfastseo_baidu_submit | 881 | 2.03 | 25.47 | 50.59 |
过滤HTML垃圾代码 /wp-admin/admin.php?page=articlefilters | 858 | 2.05 | 24.64 | 50.57 |
自定义关健词内链 /wp-admin/admin.php?page=keywordlink | 834 | 2.06 | 25.25 | 51.47 |
图片压缩处理 /wp-admin/admin.php?page=imgcompress | 882 | 2.06 | 23.94 | 52.13 |
SEO TDK优化 /wp-admin/admin.php?page=superfast_meta | 992 | 1.86 | 26.75 | 56.34 |
指定文章添加内链 /wp-admin/admin.php?page=keyword_link | 834 | 2.06 | 24.01 | 43.91 |
屏蔽垃圾蜘蛛 /wp-admin/admin.php?page=superfastseo_none_ua | 875 | 2.05 | 24.58 | 50.71 |
后台安全增强 /wp-admin/admin.php?page=adminsafe | 924 | 2.16 | 22.54 | 51.90 |
TAGS优化设置 /wp-admin/admin.php?page=superfastseo_tags_set | 878 | 2.06 | 24.64 | 57.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=superfast_meta
- > Notice in wp-content/plugins/superfast-seo/modules/seo/meta-form.php+103
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/superfast-seo/modules/seo/rewritetheme.php
- > /wp-content/plugins/superfast-seo/modules/link/keyword-link.php
- > /wp-content/plugins/superfast-seo/modules/link/keywordlink.php
- > /wp-content/plugins/superfast-seo/readme.php
- 70× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/superfast-seo/functions/rename.php:12
- > PHP Warning
copy(SUPERFASTSEO_PLUGIN_DIRobject-cache.php): failed to open stream: No such file or directory in wp-content/plugins/superfast-seo/functions/memcached.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_action() in wp-content/plugins/superfast-seo/functions/del-wp-generator.php:3
- > PHP Warning
require_once(wp-content/plugins/superfast-seo/wp-load.php): failed to open stream: No such file or directory in wp-content/plugins/superfast-seo/wp-blog-header.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/superfast-seo/wp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/superfast-seo/wp-blog-header.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/superfast-seo/functions/addimgclass.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/superfast-seo/functions/filters-htmlcode.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/superfast-seo/modules/seo/singular-form.php:2
- > PHP Warning
Use of undefined constant SUPERFASTSEO_PLUGIN_DIR - assumed 'SUPERFASTSEO_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/superfast-seo/functions/memcached.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/superfast-seo/functions/del-wp-site-health.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (基础优化【加速、禁用、移除】), #2 (文章发布前清理、过滤HTML垃圾代码), #3 (上传图片压缩、重命名), #4 (数据库查询优化【让WP支持百万级数据】), #5 (后台安全增强), #6 (SEO TDK优化设置), #7 (屏蔽垃圾蜘蛛), #8 (生成 robots.txt 文件)
superfast-seo/index.php 85% from 13 tests
The main PHP file in "Super Fast SEO优化插件" ver. 1.0.10 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("superfast-seo.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 305 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected3,075 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 70 | 605 | 1,583 | 3,075 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 84.50 |
▷ Minimum class complexity | 56.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 65 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 129 | |
▷ Named functions | 124 | 96.12% |
▷ Anonymous functions | 5 | 3.88% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin