Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲0.75ms] Passed 4 tests
This is a short check of server-side resources used by WP Accelerator for Chinese
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.68 ▲1.77 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.99 ▼1.16 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.00 ▼1.27 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.73 ▲3.68 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.41 ▲5.11 |
静态加速 /wp-admin/options-general.php?page=speedup4cn | 3.30 | 31.58 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Accelerator for Chinese
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,451 ▼295 | 14.01 ▼0.37 | 1.73 ▼0.19 | 34.13 ▼11.60 |
Dashboard /wp-admin | 1,860 ▼328 | 5.39 ▼0.50 | 119.72 ▲12.19 | 42.21 ▼5.28 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.00 ▼0.03 | 44.75 ▲3.80 | 41.63 ▲5.83 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.33 ▲0.14 | 666.93 ▲49.89 | 69.83 ▲10.57 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.29 ▲0.10 | 99.93 ▼5.60 | 47.18 ▲2.42 |
静态加速 /wp-admin/options-general.php?page=speedup4cn | 1,038 | 2.03 | 30.75 | 85.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: accelerator, speedup
wp-accelerator-for-chinese/wp-accelerator-for-chinese.php 92% from 13 tests
The main PHP file in "WP Accelerator for Chinese" ver. 0.9.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "WP 3.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected555 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 102 | 144 | 555 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 24 | 64.86% |
▷ Public methods | 37 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin