Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▼5.35ms] Passed 4 tests
A check of server-side resources used by WooBillomat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 52.12 ▲10.18 |
Dashboard /wp-admin | 3.86 ▲0.52 | 60.29 ▼8.89 |
Posts /wp-admin/edit.php | 3.91 ▲0.56 | 56.77 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 87.94 ▼16.26 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 41.93 ▲4.97 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 163 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wcb_invoices_created |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
wcb_db_version |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WooBillomat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.69 ▲0.34 | 2.23 ▲0.49 | 42.42 ▲4.00 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.11 | 83.97 ▼6.44 | 39.23 ▼1.72 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.01 ▲0.05 | 40.07 ▲2.20 | 35.82 ▼2.35 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.19 ▲0.16 | 678.09 ▼3.60 | 57.84 ▲1.61 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.15 ▼0.05 | 98.37 ▼12.37 | 45.20 ▼2.42 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- wcb_db_version
- widget_recent-comments
- wcb_invoices_created
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 50× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/psr7/src/AppendStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/psr7/src/PumpStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/psr7/src/Uri.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/psr7/src/Request.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/woo-billomat/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in woo-billomat/assets to your readme.txt
woo-billomat/woocommerce-billomat.php 85% from 13 tests
The main PHP script in "WooBillomat" version 2.4.8 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("woo-billomat.php" instead of "woocommerce-billomat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin15,607 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 2,327 | 6,400 | 11,012 |
Markdown | 12 | 1,132 | 0 | 3,453 |
JSON | 8 | 0 | 0 | 599 |
PO File | 1 | 160 | 211 | 470 |
CSS | 1 | 8 | 0 | 33 |
JavaScript | 1 | 1 | 1 | 16 |
XML | 1 | 0 | 0 | 15 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 20 | |
Traits | 3 | |
Classes | 88 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 88 | 100.00% |
▷ Final classes | 20 | 22.73% |
Methods | 849 | |
▷ Static methods | 150 | 17.67% |
▷ Public methods | 705 | 83.04% |
▷ Protected methods | 4 | 0.47% |
▷ Private methods | 140 | 16.49% |
Functions | 147 | |
▷ Named functions | 56 | 38.10% |
▷ Anonymous functions | 91 | 61.90% |
Constants | 65 | |
▷ Global constants | 10 | 15.38% |
▷ Class constants | 55 | 84.62% |
▷ Public constants | 55 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected