Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.43ms] Passed 4 tests
Analyzing server-side resources used by 远程抓取图片CDN加速插件
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.30 ▼2.07 |
Dashboard /wp-admin | 3.37 ▲0.03 | 51.29 ▼13.54 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 53.66 ▼0.34 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 100.45 ▼4.70 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.60 ▼1.41 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for 远程抓取图片CDN加速插件
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.27 ▼1.48 | 1.55 ▼0.08 | 39.05 ▼2.77 |
Dashboard /wp-admin | 2,216 ▲34 | 5.85 ▼0.03 | 99.45 ▼10.08 | 48.74 ▲6.32 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 1.99 ▼0.05 | 42.53 ▲5.59 | 41.66 ▲5.15 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.09 ▼0.00 | 625.45 ▼8.58 | 46.63 ▼17.75 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.22 ▲0.08 | 97.85 ▼10.46 | 53.12 ▲7.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Kxxx\\Admin\\is_admin() in wp-content/plugins/kxxx-qiniu/admin-options.php:108
- > PHP Fatal error
Uncaught Error: Call to undefined function Kxxx\\Admin\\is_admin() in wp-content/plugins/kxxx-qiniu/admin-options.php:108
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (七牛云存储 扩展插件)
kxxx-qiniu/kxxx-qiniu.php 92% from 13 tests
The primary PHP file in "远程抓取图片CDN加速插件" version 1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 228 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin244 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 37 | 227 |
Markdown | 1 | 15 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin