Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.84ms] Passed 4 tests
An overview of server-side resources used by Multi-Carrier EasyPost Shipping Methods & Address Validation for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.10 ▼0.36 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.30 ▼13.29 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.00 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.91 ▼3.69 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.01 ▼1.42 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Multi-Carrier EasyPost Shipping Methods & Address Validation 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 ▲54 | 14.45 ▲0.14 | 1.74 ▲0.12 | 38.81 ▼2.08 |
Dashboard /wp-admin | 2,209 ▲60 | 4.81 ▼0.82 | 99.75 ▼3.33 | 40.82 ▲0.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 37.84 ▼4.21 | 34.22 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 18.30 ▼5.01 | 634.87 ▼41.21 | 56.71 ▼3.32 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.26 ▼0.04 | 96.82 ▼10.82 | 41.42 ▼6.68 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
wc-easypost-shipping/wc-easypost-shipping.php 92% from 13 tests
The principal PHP file in "Multi-Carrier EasyPost Shipping Methods & Address Validation for WooCommerce" v. 1.6.10 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Plugin Name: A shorter plugin name is better (currently 76 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin5,760 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,093 | 239 | 5,760 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 32.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 5 | 26.32% |
▷ Concrete classes | 14 | 73.68% |
▷ Final classes | 0 | 0.00% |
Methods | 309 | |
▷ Static methods | 2 | 0.65% |
▷ Public methods | 178 | 57.61% |
▷ Protected methods | 125 | 40.45% |
▷ Private methods | 6 | 1.94% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/1TeamSoftware-logo.png | 14.55KB | 4.50KB | ▼ 69.05% |
assets/images/1TeamSoftware-icon.png | 0.59KB | 0.75KB | 0.00% |