Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.92ms] Passed 4 tests
This is a short check of server-side resources used by Biller | Biller business invoice
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.62 ▼5.71 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.95 ▼4.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.80 ▼7.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.59 ▼2.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.14 ▲1.59 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 237 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Biller | Biller business invoice
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.34 ▼0.36 | 1.76 ▼0.10 | 38.68 ▼5.62 |
Dashboard /wp-admin | 2,198 ▲20 | 5.60 ▼0.09 | 85.62 ▼24.21 | 40.12 ▼4.44 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.00 ▲0.03 | 35.34 ▼7.15 | 31.41 ▼26.80 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.14 ▲0.08 | 682.00 ▲0.16 | 60.62 ▼2.94 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.19 ▼0.07 | 97.86 ▼1.76 | 42.13 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 93× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Biller\\BusinessLogic\\API\\Http\\Proxy' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/BusinessLogic/API/Authorization/Proxy/TokenProxy.php:19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/biller/includes/class-biller.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'Biller\\BusinessLogic\\API\\Http\\Request\\HttpRequest' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/BusinessLogic/API/Logger/Request/ExportLogsRequest.php:12
- > PHP Fatal error
Uncaught Error: Class 'Biller\\Infrastructure\\Data\\DataTransferObject' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/BusinessLogic/API/DTO/Refund/RefundAmount.php:8
- > PHP Fatal error
Uncaught Error: Class 'Biller\\Infrastructure\\Http\\Exceptions\\HttpBaseException' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/Infrastructure/Http/Exceptions/HttpAuthenticationException.php:10
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/biller/includes/Gateways/class-biller-business-invoice.php:34
- > PHP Fatal error
Uncaught Error: Class 'Biller\\Infrastructure\\Data\\DataTransferObject' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/BusinessLogic/API/Logger/Request/ExportLogMessage.php:12
- > PHP Fatal error
Uncaught Error: Class 'Biller\\Controllers\\Biller_Base_Controller' not found in wp-content/plugins/biller/includes/Controllers/class-biller-order-capture-controller.php:17
- > PHP Fatal error
Uncaught Error: Class 'Biller\\Infrastructure\\Exceptions\\BaseException' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/BusinessLogic/API/Http/Exceptions/RequestNotSuccessfulException.php:13
- > PHP Fatal error
Uncaught Error: Class 'Biller\\Infrastructure\\Singleton' not found in wp-content/plugins/biller/vendor/biller/integration-core/src/BusinessLogic/Authorization/AuthorizationService.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
- Screenshots: Add images for these screenshots: #4 (Hand over the credit risk), #5 (Bye tedious admin work)
biller/biller-business-invoice.php 92% from 13 tests
The main PHP script in "Biller | Biller business invoice" version 1.0.8 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("biller.php" instead of "biller-business-invoice.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin10,886 lines of code in 219 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 200 | 2,351 | 7,462 | 9,903 |
PO File | 2 | 148 | 173 | 423 |
JavaScript | 5 | 35 | 6 | 225 |
CSS | 4 | 12 | 0 | 135 |
JSON | 3 | 0 | 0 | 116 |
XML | 2 | 0 | 0 | 34 |
SVG | 1 | 0 | 1 | 33 |
Markdown | 2 | 8 | 0 | 17 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 83 | |
Interfaces | 16 | |
Traits | 0 | |
Classes | 172 | |
▷ Abstract classes | 9 | 5.23% |
▷ Concrete classes | 163 | 94.77% |
▷ Final classes | 1 | 0.61% |
Methods | 1,036 | |
▷ Static methods | 142 | 13.71% |
▷ Public methods | 835 | 80.60% |
▷ Protected methods | 110 | 10.62% |
▷ Private methods | 91 | 8.78% |
Functions | 41 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 41 | 100.00% |
Constants | 125 | |
▷ Global constants | 1 | 0.80% |
▷ Class constants | 124 | 99.20% |
▷ Public constants | 124 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected