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.01MB] [CPU: ▼10.07ms] Passed 4 tests
A check of server-side resources used by Big Post Shipping for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.66 ▼4.32 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.16 ▼17.68 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.59 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.55 ▼17.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.65 ▼0.80 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 188 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Big Post Shipping for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.71 ▼0.87 | 1.71 ▼0.05 | 39.44 ▼3.22 |
Dashboard /wp-admin | 2,211 ▲23 | 4.89 ▼0.03 | 107.77 ▼10.30 | 40.01 ▼4.18 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.03 | 40.80 ▲0.16 | 37.52 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 17.54 ▼0.45 | 666.56 ▲52.60 | 46.83 ▼15.46 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.27 ▲0.04 | 106.53 ▲3.23 | 46.52 ▲4.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 69× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/woo-bigpost-shipping/vendor/psr/http-client/src/RequestExceptionInterface.php:14
- > PHP Warning
Use of undefined constant WOO_BIGPOST_DIR - assumed 'WOO_BIGPOST_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-bigpost-shipping/includes/template-qoute-form/popup.php on line 10
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\BodySummarizerInterface' not found in wp-content/plugins/woo-bigpost-shipping/vendor/guzzlehttp/guzzle/src/BodySummarizer.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-bigpost-shipping/vendor/guzzlehttp/psr7/src/DroppingStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/woo-bigpost-shipping/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/woo-bigpost-shipping/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/woo-bigpost-shipping/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/woo-bigpost-shipping/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-bigpost-shipping/vendor/guzzlehttp/psr7/src/BufferStream.php:17
- > PHP Notice
Undefined variable: class in wp-content/plugins/woo-bigpost-shipping/includes/template-qoute-form/default.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 22 tag instead of maximum 10
woo-bigpost-shipping/woo-bigpost-shipping.php 69% from 13 tests
The main file in "Big Post Shipping for WooCommerce" v. 1.7.22 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "3.4")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin19,695 lines of code in 172 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 138 | 3,115 | 6,079 | 14,113 |
Markdown | 13 | 1,158 | 0 | 3,494 |
JavaScript | 5 | 246 | 83 | 1,010 |
JSON | 11 | 0 | 0 | 734 |
CSS | 3 | 53 | 24 | 328 |
make | 1 | 4 | 0 | 9 |
YAML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 192.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 26 | |
Traits | 3 | |
Classes | 85 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 85 | 100.00% |
▷ Final classes | 34 | 40.00% |
Methods | 822 | |
▷ Static methods | 125 | 15.21% |
▷ Public methods | 702 | 85.40% |
▷ Protected methods | 4 | 0.49% |
▷ Private methods | 116 | 14.11% |
Functions | 163 | |
▷ Named functions | 73 | 44.79% |
▷ Anonymous functions | 90 | 55.21% |
Constants | 68 | |
▷ Global constants | 5 | 7.35% |
▷ Class constants | 63 | 92.65% |
▷ Public constants | 52 | 82.54% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin