Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▲378.57ms] 50% from 4 tests
Analyzing server-side resources used by ShipWorks Connector for Woocommerce
Please have a look at the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 554.18ms on /wp-admin/admin.php?page=shipworks-wordpress)
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 378.57ms on /wp-admin/admin.php?page=shipworks-wordpress)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 44.44 ▼0.41 |
Dashboard /wp-admin | 3.43 ▲0.13 | 547.68 ▲495.35 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 566.29 ▲512.44 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 614.86 ▲513.15 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 545.20 ▲506.88 |
Options /wp-admin/admin.php?page=options | 3.29 | 580.53 |
Set Up /wp-admin/admin.php?page=set-up | 3.27 | 536.42 |
Subscription /wp-admin/admin.php?page=subscription | 3.26 | 530.18 |
Shipworks WP /wp-admin/admin.php?page=shipworks-wordpress | 3.30 | 554.18 |
Server storage [IO: ▲1.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 66 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_theysaidso_widget |
adv_password |
show_private_message_shipAdv |
admin_notes_restriction_shipAdv |
theysaidso_admin_options |
show_coupon_shipAdv |
adv_username |
show_variationId_shipAdv |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ShipWorks Connector for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲46 | 14.37 ▲0.01 | 1.59 ▼0.52 | 46.66 ▲2.51 |
Dashboard /wp-admin | 2,226 ▲52 | 5.55 ▼0.07 | 87.13 ▼6.79 | 77.17 ▲30.34 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 1.99 ▼0.01 | 35.93 ▼3.05 | 35.83 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,578 ▲47 | 22.95 ▼0.14 | 760.81 ▲51.02 | 57.62 ▲4.38 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.22 ▲0.03 | 104.57 ▼3.43 | 84.22 ▲37.94 |
Options /wp-admin/admin.php?page=options | 963 | 1.79 | 25.59 | 64.94 |
Set Up /wp-admin/admin.php?page=set-up | 872 | 1.99 | 25.24 | 27.68 |
Subscription /wp-admin/admin.php?page=subscription | 831 | 2.00 | 26.83 | 28.36 |
Shipworks WP /wp-admin/admin.php?page=shipworks-wordpress | 893 | 2.00 | 22.67 | 30.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 15 options
- show_coupon_shipAdv
- show_variationId_shipAdv
- can_compress_scripts
- show_private_message_shipAdv
- theysaidso_admin_options
- woocommerce_api_shipAdv
- widget_recent-posts
- show_customer_message_shipAdv
- widget_recent-comments
- adv_password
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=subscription
- > Javascript (severe) in unknown
/wp-content/plugins/shipworks-e-commerce-bridge/css/bootstrap.min.js?ver=6.3.1 10:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: order manager, shipping manager, woocommerce sequential order numbers, shipment tracking, shipping...
shipworks-e-commerce-bridge/controler.php 77% from 13 tests
The main PHP file in "ShipWorks Connector for Woocommerce" ver. 5.0.8 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("shipworks-e-commerce-bridge.php" instead of "controler.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number did not match the one declared in readme.txt ("3.0.1" instead of "2.0")
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
Everything looks great! No dangerous files found in this plugin5,683 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 1,518 | 164 | 4,826 |
PO File | 2 | 212 | 226 | 831 |
CSS | 2 | 24 | 14 | 24 |
JavaScript | 1 | 1 | 9 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 32.64 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 197 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 138 | 70.05% |
▷ Protected methods | 59 | 29.95% |
▷ Private methods | 0 | 0.00% |
Functions | 84 | |
▷ Named functions | 83 | 98.81% |
▷ Anonymous functions | 1 | 1.19% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 1.58KB | 0.73KB | ▼ 54.19% |
img/icon.png | 1.58KB | 0.73KB | ▼ 54.19% |