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.02MB] [CPU: ▼4.67ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce ShipStation Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.58 ▼1.83 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.38 ▼3.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.70 ▼0.90 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 79.48 ▼11.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.52 ▼2.03 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce ShipStation Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.25 ▼1.37 | 5.49 ▲3.93 | 39.44 ▼1.10 |
Dashboard /wp-admin | 2,214 ▲23 | 4.82 ▼0.04 | 99.48 ▼2.67 | 39.37 ▼3.41 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.05 ▼0.01 | 41.77 ▲0.15 | 35.16 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 17.71 ▲0.19 | 676.74 ▲46.32 | 51.23 ▼11.45 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.33 ▲0.12 | 96.77 ▼4.64 | 41.76 ▼4.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/woocommerce-shipstation-integration/includes/data/data-settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
3 plugin tags: shipping, woocommerce, automattic
woocommerce-shipstation-integration/woocommerce-shipstation.php 85% from 13 tests
Analyzing the main PHP file in "WooCommerce ShipStation Integration" version 4.3.9
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.4.0" instead of "3.4")
- Main file name: The principal plugin file should be the same as the plugin slug ("woocommerce-shipstation-integration.php" instead of "woocommerce-shipstation.php")
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
Success! There were no dangerous files found in this plugin1,090 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 289 | 438 | 1,074 |
CSS | 1 | 2 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 19.88 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 10 | 21.74% |
▷ Public methods | 35 | 76.09% |
▷ Protected methods | 2 | 4.35% |
▷ Private methods | 9 | 19.57% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 6 | |
▷ Global constants | 6 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/shipstation-logo-blue.png | 6.72KB | 4.67KB | ▼ 30.41% |