Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.21ms] Passed 4 tests
Analyzing server-side resources used by Shipfunk WooCommerce Shipping
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 42.00 ▼5.26 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.25 ▼0.11 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.71 ▲1.57 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 95.38 ▼1.05 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 38.61 ▲4.92 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Shipfunk WooCommerce Shipping
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.04 | 1.70 ▼0.53 | 42.96 ▲0.32 |
Dashboard /wp-admin | 2,206 ▲15 | 5.88 ▼0.00 | 101.99 ▼3.96 | 41.34 ▲0.29 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.03 | 41.65 ▲6.66 | 35.87 ▲1.00 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.27 ▲0.76 | 618.76 ▼39.45 | 53.00 ▲0.35 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.22 ▲0.02 | 97.18 ▼3.53 | 41.05 ▼5.31 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
shipfunk-woocommerce-shipping/shipping-shipfunk.php 92% from 13 tests
The principal PHP file in "Shipfunk WooCommerce Shipping" v. 1.3.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("shipfunk-woocommerce-shipping.php" instead of "shipping-shipfunk.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,381 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 409 | 780 | 1,949 |
PO File | 1 | 106 | 110 | 225 |
JavaScript | 2 | 37 | 3 | 196 |
CSS | 1 | 1 | 0 | 8 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 33.62 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 23 | 20.18% |
▷ Public methods | 108 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 5.26% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
There are no PNG files in this plugin