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.20MB] [CPU: ▲4.15ms] Passed 4 tests
This is a short check of server-side resources used by wp wpDone website content accelerator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 47.52 ▲3.73 |
Dashboard /wp-admin | 3.54 ▲0.24 | 53.67 ▲6.35 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 54.89 ▲7.97 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 96.41 ▲5.80 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 37.07 ▲0.70 |
wpDone website content accelerator /wp-admin/options-general.php?page=wwwce_settings-page | 3.35 | 30.32 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
wwwce_settings |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for wp wpDone website content accelerator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 13.21 ▼1.17 | 2.23 ▲0.38 | 42.28 ▼2.02 |
Dashboard /wp-admin | 2,222 ▲34 | 4.87 ▼0.00 | 98.38 ▼4.25 | 42.56 ▼0.83 |
Posts /wp-admin/edit.php | 2,104 ▲18 | 2.05 ▲0.04 | 39.60 ▲3.81 | 37.33 ▲4.19 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 23.27 ▲0.08 | 661.83 ▼12.76 | 58.04 ▲4.83 |
Media Library /wp-admin/upload.php | 1,398 ▲16 | 4.20 ▼0.01 | 94.20 ▼10.50 | 41.62 ▼5.59 |
wpDone website content accelerator /wp-admin/options-general.php?page=wwwce_settings-page | 815 | 2.04 | 23.91 | 29.13 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- wwwce_settings
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wwwce_settings-page
- > Notice in wp-content/plugins/wpdone-website-content-accelerator/vendor/voceconnect/voce-settings-api/voce-settings-api.php+200
Undefined index: clearcache
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
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpdone-website-content-accelerator/wp-wpDone-website-content-accelerator.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpdone-website-content-accelerator/wp-wpDone-website-content-accelerator.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpdone-website-content-accelerator/wp-wpDone-website-content-accelerator.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: content accelerator, wp content accelerator, free content accelerator, wordpress cdn, wp cdn...
wpdone-website-content-accelerator/wp-wpDone-website-content-accelerator.php 92% from 13 tests
"wp wpDone website content accelerator" version 1.0.27's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wpdone-website-content-accelerator.php" instead of "wp-wpDone-website-content-accelerator.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin907 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 207 | 324 | 870 |
JSON | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 14.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 4 | 6.15% |
▷ Public methods | 59 | 90.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.23% |
Functions | 20 | |
▷ Named functions | 17 | 85.00% |
▷ Anonymous functions | 3 | 15.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot2.png | 39.22KB | 13.72KB | ▼ 65.01% |
assets/screenshot1.png | 18.00KB | 11.30KB | ▼ 37.19% |
assets/screenshot-1.png | 18.00KB | 11.30KB | ▼ 37.19% |
assets/screenshot-2.png | 39.22KB | 13.72KB | ▼ 65.01% |