Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.20ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Shippify Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.00 ▼4.37 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.40 ▼3.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.78 ▲1.20 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.01 ▼2.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.19 ▲1.31 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woocommerce Shippify Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.69 ▲0.42 | 1.78 ▼0.05 | 41.45 ▼6.33 |
Dashboard /wp-admin | 2,192 ▲18 | 5.54 ▲0.01 | 82.91 ▼11.34 | 38.79 ▼3.58 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 36.07 ▼0.67 | 31.39 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.33 ▲0.25 | 671.74 ▲6.23 | 69.71 ▲18.01 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▲0.10 | 99.80 ▼4.26 | 47.75 ▲2.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Checkout Order Review), #2 (Shippify Integration Setup), #3 (Shipping Zone Warehouse Setup), #4 (Shippify As a Shipping Method), #5 (Dispatch Action at Orders)
woo-shippify/woocommerce-shippify.php 85% from 13 tests
The main PHP file in "Woocommerce Shippify Plugin" ver. 1.2.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-shippify.php" instead of "woocommerce-shippify.php")
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
No dangerous file extensions were detected3,377 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 650 | 615 | 1,973 |
PHP | 7 | 246 | 325 | 1,098 |
JavaScript | 2 | 66 | 40 | 175 |
Markdown | 1 | 35 | 0 | 84 |
CSS | 1 | 9 | 9 | 47 |
PHP code Passed 2 tests
This is a short overview 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.41 |
Average class complexity | 29.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 5.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.67MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-5.png | 58.80KB | 32.37KB | ▼ 44.95% |
assets/screenshot-2.png | 153.72KB | 36.68KB | ▼ 76.14% |
assets/screenshot-1.png | 143.06KB | 37.53KB | ▼ 73.77% |
assets/screenshot-3.png | 160.34KB | 39.88KB | ▼ 75.13% |
assets/screenshot-4.png | 167.48KB | 43.29KB | ▼ 74.15% |