Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲1.24ms] Passed 4 tests
A check of server-side resources used by WooCommerce - Bizuno Accounting Interface
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.27 ▼3.33 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.72 ▲0.17 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.66 ▲4.94 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 100.92 ▲15.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.61 ▲3.18 |
Bizuno API /wp-admin/options-general.php?page=bizuno_api | 3.24 | 31.09 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
bizuno_api_active |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce - Bizuno Accounting Interface
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.45 ▲0.08 | 1.68 ▼0.10 | 43.20 ▼3.40 |
Dashboard /wp-admin | 2,210 ▲18 | 5.90 ▲0.95 | 110.10 ▼8.08 | 41.68 ▼7.32 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.00 | 41.88 ▲5.40 | 34.25 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.30 ▲0.83 | 617.56 ▼63.16 | 58.54 ▼9.48 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.23 ▼0.02 | 95.70 ▼1.21 | 41.95 ▼0.38 |
Bizuno API /wp-admin/options-general.php?page=bizuno_api | 890 | 2.03 | 28.44 | 31.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bizuno-api/bizuno-api.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'bizuno\\api_common' not found in wp-content/plugins/bizuno-api/lib/product.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bizuno-api/lib/payment_purchase_order.php:66
- > PHP Fatal error
Uncaught Error: Class 'bizuno\\api_common' not found in wp-content/plugins/bizuno-api/lib/order.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bizuno-api/lib/payment_converge.php:289
- > PHP Fatal error
Uncaught Error: Class 'bizuno\\api_common' not found in wp-content/plugins/bizuno-api/lib/account.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
9 plugin tags: bizuno, woocommerce accounting, bizuno interface, woocommerce, wordpress erp...
bizuno-api/bizuno-api.php 77% from 13 tests
The principal PHP file in "WooCommerce - Bizuno Accounting Interface" v. 6.7.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 197 characters long)
- Domain Path: The domain path points to an invalid folder, "/locale" does not exist
- 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 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,719 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 92 | 379 | 1,719 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 38.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 70 | 63.06% |
▷ Protected methods | 3 | 2.70% |
▷ Private methods | 38 | 34.23% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected