Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.18ms] Passed 4 tests
This is a short check of server-side resources used by RocketDeliver - Delivering your WordPress page faster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.76 ▲1.36 |
Dashboard /wp-admin | 3.42 ▲0.12 | 44.58 ▼2.49 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 46.79 ▼0.84 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 83.70 ▼14.71 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.40 ▲1.32 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by RocketDeliver - Delivering your WordPress page faster
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,598 ▼163 | 3.57 ▼11.05 | 0.88 ▼0.84 | 8.60 ▼33.09 |
Dashboard /wp-admin | 2,124 ▼53 | 1.60 ▼4.05 | 17.83 ▼70.00 | 35.59 ▼11.33 |
Posts /wp-admin/edit.php | 2,046 ▼57 | 1.38 ▼0.57 | 8.34 ▼34.08 | 33.21 ▼5.13 |
Add New Post /wp-admin/post-new.php | 1,216 ▼310 | 2.07 ▼21.68 | 33.08 ▼618.28 | 5.52 ▼54.85 |
Media Library /wp-admin/upload.php | 1,002 ▼392 | 2.02 ▼2.22 | 21.43 ▼80.94 | 25.98 ▼17.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/rocketdeliver/public/partials/rocketdeliver-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/rocketdeliver/admin/partials/rocketdeliver-admin-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== RocketDeliver - Delivering your WordPress page faster ===
)
rocketdeliver/rocketdeliver.php 92% from 13 tests
The main PHP script in "RocketDeliver - Delivering your WordPress page faster" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 412 characters long)
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
Everything looks great! No dangerous files found in this plugin814 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 260 | 780 | 547 |
CSS | 2 | 60 | 14 | 261 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 2 | 4.35% |
▷ Public methods | 35 | 76.09% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 23.91% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo_19.png | 1.09KB | 1.18KB | 0.00% |
admin/images/logo.png | 32.20KB | 11.66KB | ▼ 63.80% |