Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.05ms] Passed 4 tests
This is a short check of server-side resources used by Smart Send Shipping for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.85 ▼5.80 |
Dashboard /wp-admin | 3.31 ▲0.00 | 60.16 ▲11.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.20 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.05 ▼7.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.23 ▲4.28 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Smart Send Shipping for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.22 ▼0.02 | 1.84 ▲0.03 | 44.39 ▼1.99 |
Dashboard /wp-admin | 2,192 ▲15 | 5.53 ▼0.12 | 85.07 ▼10.66 | 37.29 ▼7.48 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.01 | 33.25 ▼4.45 | 34.24 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼19 | 22.98 ▼2.05 | 660.72 ▲9.65 | 53.31 ▼19.15 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.15 ▼0.11 | 96.83 ▼5.03 | 42.88 ▲0.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/woocommerce-smart-send-australian-shipping/uninstall.php+55
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #3, #4, #5 in woocommerce-smart-send-australian-shipping/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
woocommerce-smart-send-australian-shipping/smart-send.php 77% from 13 tests
The principal PHP file in "Smart Send Shipping for WooCommerce" v. 4.0.5 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: The principal plugin file should be the same as the plugin slug ("woocommerce-smart-send-australian-shipping.php" instead of "smart-send.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
No dangerous file extensions were detected1,791 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 333 | 515 | 1,720 |
JavaScript | 2 | 2 | 0 | 43 |
CSS | 1 | 1 | 0 | 28 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 21.62 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 82 | |
▷ Static methods | 42 | 51.22% |
▷ Public methods | 53 | 64.63% |
▷ Protected methods | 4 | 4.88% |
▷ Private methods | 25 | 30.49% |
Functions | 23 | |
▷ Named functions | 16 | 69.57% |
▷ Anonymous functions | 7 | 30.43% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin