Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.42ms] Passed 4 tests
Analyzing server-side resources used by Gobuddy - The smart delivery solution
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.81 ▲0.53 |
Dashboard /wp-admin | 3.32 ▼0.02 | 51.88 ▼8.79 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.96 ▼3.76 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.69 ▲11.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.10 ▲2.36 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
gobuddy_config |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gobuddy - The smart delivery solution
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.57 ▲0.22 | 1.73 ▼0.18 | 44.32 ▲0.33 |
Dashboard /wp-admin | 2,198 ▲17 | 5.61 ▼0.09 | 94.65 ▼17.76 | 40.92 ▼1.50 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▲0.02 | 35.23 ▼6.53 | 33.84 ▼5.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.36 ▲0.05 | 637.44 ▲18.05 | 55.56 ▲7.44 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.02 | 96.60 ▼1.80 | 41.89 ▼1.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: courier, delivery, shipping, e-commerce, woocommerce
gobuddy-the-smart-delivery-solution/gobuddy-shipping.php 85% from 13 tests
The main PHP file in "Gobuddy - The smart delivery solution" ver. 2.1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gobuddy-the-smart-delivery-solution.php" instead of "gobuddy-shipping.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,195 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 427 | 120 | 1,194 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 34.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 155.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 46 | 100.00% |
▷ Public methods | 25 | 54.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 45.65% |
Functions | 11 | |
▷ Named functions | 5 | 45.45% |
▷ Anonymous functions | 6 | 54.55% |
Constants | 20 | |
▷ Global constants | 4 | 20.00% |
▷ Class constants | 16 | 80.00% |
▷ Public constants | 16 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-128x128.png | 6.34KB | 2.81KB | ▼ 55.66% |
assets/images/icon-256x256.png | 17.73KB | 7.36KB | ▼ 58.49% |