Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.72ms] Passed 4 tests
This is a short check of server-side resources used by ShippyPro - Shipping Estimates and Dropoff Locations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.24 ▲0.85 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.21 ▼12.41 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.53 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.75 ▼12.35 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.27 ▼14.95 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/shippypro-woocommerce/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ShippyPro - Shipping Estimates and Dropoff Locations
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.32 ▼1.43 | 5.44 ▲3.78 | 42.89 ▲1.66 |
Dashboard /wp-admin | 2,224 ▲21 | 4.86 ▼1.11 | 100.92 ▼16.15 | 41.55 ▼4.37 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.02 | 36.26 ▼1.45 | 38.08 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 18.14 ▼5.11 | 604.53 ▼60.75 | 55.06 ▲0.84 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.25 ▼0.00 | 99.56 ▼0.17 | 41.00 ▼3.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/shippypro-woocommerce/includes/promo.php
- > /wp-content/plugins/shippypro-woocommerce/get-access-points.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/shippypro-woocommerce/includes/welcome.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/shippypro-woocommerce/includes/welcome.php:15
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/shippypro-woocommerce/includes/class-shp-shippypro.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% 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 need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: Screenshot #4 (Overview of the service) image required
- Tags: You are using too many tags: 22 tag instead of maximum 10
shippypro-woocommerce/shippypro-woocommerce.php Passed 13 tests
This is the main PHP file of "ShippyPro - Shipping Estimates and Dropoff Locations" version 0.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
54 characters long description:
Obtain Real time shipping rates via the ShippyPro API.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected983 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 169 | 120 | 925 |
HTML | 1 | 8 | 0 | 58 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.68 |
▷ 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 | 20 | |
▷ Static methods | 2 | 10.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
No PNG files were detected