Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/easy-shipping-rate/esraw.php+63
require(wp-content/plugins/easy-shipping-rate/../woocommerce/woocommerce.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.67ms] Passed 4 tests
This is a short check of server-side resources used by Easy Shipping for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.90 ▼1.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.04 ▼1.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.80 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.96 ▼13.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.04 ▲0.98 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Easy Shipping for Woocommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.19 ▼1.10 | 4.60 ▲2.16 | 42.25 ▼3.85 |
Dashboard /wp-admin | 2,203 ▲12 | 4.87 ▼1.04 | 103.83 ▼1.22 | 39.68 ▼7.45 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.01 | 34.91 ▼1.11 | 36.57 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.02 ▼0.16 | 658.60 ▼54.01 | 64.32 ▲10.51 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.08 | 102.11 ▼19.18 | 44.31 ▼4.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "#"
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
easy-shipping-rate/esraw.php 85% from 13 tests
"Easy Shipping for Woocommerce" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-shipping-rate.php" instead of "esraw.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected6,765 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 51 | 1,351 | 386 | 5,114 |
PHP | 12 | 198 | 594 | 1,218 |
CSS | 2 | 57 | 4 | 433 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 5 | 11.63% |
▷ Public methods | 37 | 86.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 13.95% |
Functions | 11 | |
▷ Named functions | 8 | 72.73% |
▷ Anonymous functions | 3 | 27.27% |
Constants | 25 | |
▷ Global constants | 1 | 4.00% |
▷ Class constants | 24 | 96.00% |
▷ Public constants | 24 | 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
No PNG files were detected