Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.97ms] Passed 4 tests
An overview of server-side resources used by Easyship WooCommerce Shipping Rates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.41 ▼5.90 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.69 ▼12.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.75 ▲0.64 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.44 ▼1.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.51 ▲6.96 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easyship WooCommerce Shipping Rates
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲50 | 14.67 ▲0.03 | 1.61 ▼0.18 | 38.91 ▼4.34 |
Dashboard /wp-admin | 2,205 ▲27 | 5.62 ▼0.00 | 93.15 ▼16.44 | 42.66 ▼1.02 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.00 | 40.74 ▲0.56 | 36.51 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 24.94 ▲1.82 | 652.95 ▲8.28 | 66.26 ▲16.55 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.18 ▼0.04 | 113.38 ▲13.35 | 46.42 ▲2.63 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
- Screenshots: Screenshot #1 (Share your Easyship access token to activate) image missing
easyship-woocommerce-shipping-rates/easyship-shipping-rates.php 77% from 13 tests
"Easyship WooCommerce Shipping Rates" version 0.9.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easyship-woocommerce-shipping-rates.php" instead of "easyship-shipping-rates.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("4.4" instead of "2.4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,181 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 250 | 560 | 994 |
PO File | 1 | 37 | 51 | 143 |
JavaScript | 1 | 7 | 2 | 44 |
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.36 |
Average class complexity | 19.29 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 54 | |
▷ Static methods | 6 | 11.11% |
▷ Public methods | 29 | 53.70% |
▷ Protected methods | 22 | 40.74% |
▷ Private methods | 3 | 5.56% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin