Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼7.03ms] Passed 4 tests
Analyzing server-side resources used by Shipping Notices and No shipping options found info for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 40.73 ▼2.77 |
Dashboard /wp-admin | 3.75 ▲0.40 | 48.77 ▼18.52 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 50.19 ▼0.73 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 96.74 ▼6.08 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 38.33 ▲4.44 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 429 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
wpdesk_requirements_plugins_data |
db_upgraded |
plugin_activation_octolize-shipping-notices/octolize-shipping-notices.php |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shipping Notices and No shipping options found info for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲58 | 14.25 ▼0.13 | 1.86 ▲0.21 | 37.93 ▼5.38 |
Dashboard /wp-admin | 2,200 ▲26 | 5.56 ▼0.03 | 93.25 ▼5.67 | 44.02 ▲0.39 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.01 ▲0.02 | 39.52 ▲2.53 | 36.63 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.55 ▲0.58 | 620.15 ▼73.20 | 58.11 ▼0.08 |
Media Library /wp-admin/upload.php | 1,408 ▲11 | 4.17 ▼0.06 | 97.05 ▼8.63 | 41.68 ▼0.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- plugin_activation_octolize-shipping-notices/octolize-shipping-notices.php
- can_compress_scripts
- wpdesk_requirements_plugins_data
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 192× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'OctolizeShippingNoticesVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SqsHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'OctolizeShippingNoticesVendor\\Monolog\\Handler\\MailHandler' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'OctolizeShippingNoticesVendor\\Monolog\\Handler\\Handler' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NullHandler.php:27
- > PHP Fatal error
Trait 'OctolizeShippingNoticesVendor\\WPDesk\\Tracker\\Deactivation\\DeactivationContent' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/wpdesk/wp-wpdesk-tracker-deactivation/src/WPDesk/Tracker/Deactivation/Thickbox.php on line 8
- > PHP Fatal error
Uncaught Error: Interface 'OctolizeShippingNoticesVendor\\Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/psr/http-message/src/ResponseInterface.php:21
- > PHP Fatal error
Uncaught Error: Interface 'OctolizeShippingNoticesVendor\\WPDesk\\PluginBuilder\\Plugin\\Hookable' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/PSR/WPDesk/Tracker/OptInPage.php:8
- > PHP Fatal error
Uncaught Error: Interface 'OctolizeShippingNoticesVendor\\Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/psr/http-message/src/RequestInterface.php:25
- > PHP Fatal error
Uncaught Error: Class 'OctolizeShippingNoticesVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/octolize-shipping-notices/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Octolize\\Shipping\otices\\ShippingNotice\\ShippingNoticeFilter\oticeFilter' not found in wp-content/plugins/octolize-shipping-notices/src/ShippingNotice/ShippingNoticeFilter/NoticeRegionFilter.php:18
- > PHP Fatal error
Uncaught Error: Interface 'OctolizeShippingNoticesVendor\\WPDesk\\RepositoryRating\\DisplayStrategy\\DisplayDecision' not found in wp-content/plugins/octolize-shipping-notices/src/Plugin/TextPetitionDisplayDecision.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: woocommerce no shipping, woocommerce no shipping options were found, woocommerce shipping, woocommerce shipping notices, woocommerce shipping message...
octolize-shipping-notices/octolize-shipping-notices.php 92% from 13 tests
The primary PHP file in "Shipping Notices and No shipping options found info for WooCommerce" version 1.5.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.7" instead of "5.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected17,266 lines of code in 415 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 365 | 1,180 | 12,015 | 15,980 |
JSON | 19 | 0 | 0 | 903 |
SVG | 20 | 0 | 0 | 157 |
CSS | 4 | 24 | 2 | 123 |
JavaScript | 5 | 3 | 1 | 78 |
Markdown | 2 | 5 | 0 | 25 |
PHP code Passed 2 tests
A short review of 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.33 |
Average class complexity | 5.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 57 | |
Interfaces | 55 | |
Traits | 12 | |
Classes | 268 | |
▷ Abstract classes | 12 | 4.48% |
▷ Concrete classes | 256 | 95.52% |
▷ Final classes | 6 | 2.34% |
Methods | 1,463 | |
▷ Static methods | 95 | 6.49% |
▷ Public methods | 1,112 | 76.01% |
▷ Protected methods | 184 | 12.58% |
▷ Private methods | 167 | 11.41% |
Functions | 55 | |
▷ Named functions | 14 | 25.45% |
▷ Anonymous functions | 41 | 74.55% |
Constants | 177 | |
▷ Global constants | 4 | 2.26% |
▷ Class constants | 173 | 97.74% |
▷ Public constants | 136 | 78.61% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.10MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/logo@2x.png | 4.17KB | 4.47KB | 0.00% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/wpdesk.pl.png | 2.36KB | 2.43KB | 0.00% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/logo.png | 2.36KB | 2.43KB | 0.00% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/flexibleshipping.com.png | 5.63KB | 3.68KB | ▼ 34.58% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/octolize.com.png | 88.91KB | 39.07KB | ▼ 56.06% |