Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.48ms] Passed 4 tests
Analyzing server-side resources used by Shipbubble - Shipping rates at checkout
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.58 ▲1.28 |
Dashboard /wp-admin | 3.48 ▲0.18 | 48.13 ▼0.57 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 48.69 ▼3.90 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 90.97 ▼2.73 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.88 ▲2.95 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
shipbubble_init |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shipbubble - Shipping rates at checkout
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲186 | 13.28 ▼1.48 | 8.58 ▲6.74 | 44.80 ▼0.38 |
Dashboard /wp-admin | 2,218 ▲41 | 5.59 ▼0.08 | 94.11 ▼4.30 | 41.82 ▼5.28 |
Posts /wp-admin/edit.php | 2,123 ▲26 | 1.99 ▲0.03 | 36.47 ▼1.42 | 35.00 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.38 ▲0.27 | 627.23 ▲11.47 | 50.43 ▼14.21 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.31 ▲0.12 | 96.09 ▼1.64 | 41.19 ▼1.11 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/public/woocommerce/enqueue-styles.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/public/async-checkout-couriers.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/shipbubble/admin/woocommerce/shipping-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/admin/woocommerce/async-create-shipment.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/admin/wordpress/async-validate-auth.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/admin/woocommerce/enqueue-styles.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/public/woocommerce/checkout.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/shipbubble/includes/constants.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/admin/woocommerce/orders.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shipbubble/admin/woocommerce/async-validate-address.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% 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
5 plugin tags: deliveries, multiple couriers, logistics, post-purchase experience, shipping rates
shipbubble/shipbubble.php 92% from 13 tests
The entry point to "Shipbubble - Shipping rates at checkout" version 1.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 155 characters long)
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
Everything looks great! No dangerous files found in this plugin2,284 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 525 | 412 | 1,594 |
JavaScript | 5 | 143 | 42 | 397 |
CSS | 2 | 61 | 0 | 293 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 68 | |
▷ Named functions | 66 | 97.06% |
▷ Anonymous functions | 2 | 2.94% |
Constants | 8 | |
▷ Global constants | 8 | 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
There were not PNG files found in your plugin