Benchmarks
Plugin footprint 22% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Warning in wp-content/plugins/bizuno-locale/bizuno-locale.php+23
require_once(wp-content/plugins/bizuno-locale/../bizuno-accounting/controllers/portal/controller.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.79ms] Passed 4 tests
A check of server-side resources used by Bizuno Locale
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.41 ▼4.89 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.78 ▼9.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.79 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.20 ▼3.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.87 ▼0.11 |
Server storage [IO: ▲27.22MB] [DB: ▲0.07MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please fix the following
- Try to limit filesystem usage to 25MB (currently using 27.22MB)
Filesystem: 750 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
bizuno_locale_active |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Bizuno Locale
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.46 ▲0.07 | 1.88 ▼0.34 | 41.23 ▼2.38 |
Dashboard /wp-admin | 2,221 ▲18 | 5.87 ▼0.04 | 107.20 ▼8.92 | 40.38 ▼3.75 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.06 ▲0.04 | 39.41 ▲0.86 | 35.93 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,545 ▼4 | 23.20 ▼0.02 | 607.59 ▼49.99 | 52.19 ▲5.45 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.22 ▲0.09 | 99.77 ▼7.46 | 43.58 ▼4.57 |
Uninstaller [IO: ▲27.22MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 8 options in the database
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/bizuno-locale/bizuno-locale.php+43
require_once(wp-content/plugins/bizuno-locale/../bizuno-accounting/controllers/portal/controller.php): failed to open stream: No such file or directory
- This plugin has failed uninstalling correctly, leaving 750 files (27.22MB) in the plugin directory
- (new file) fonts-pdf/FPDF/barcodes/I25.php
- (new file) controllers/toolXlate/admin.php
- (new file) bizuno-locale.php
- (new file) controllers/toolXlate/locale/en_US/language.php
- (new file) fonts-pdf/FPDF/barcodes/EAN13.php
- (new file) fonts-pdf/FPDF/barcodes/C128.php
- (new file) controllers/toolXlate/toolXlate.js
- (new file) fonts-pdf/FPDF/barcodes/CODABAR.php
- (new file) fonts-pdf/FPDF/barcodes/C39.php
- (new file) fonts-pdf/FPDF/barcodes/C39E.php
- ...
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- bizuno_locale_active
- can_compress_scripts
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/bizuno-locale/bizuno-locale.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant BIZUNO_3P_PDF - assumed 'BIZUNO_3P_PDF' (this will throw an Error in a future version of PHP) in wp-content/plugins/bizuno-locale/fonts-pdf/FPDF/bizuno_config.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'FPDF' not found in wp-content/plugins/bizuno-locale/fonts-pdf/FPDF/barcodes/C39E.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function bizuno\\bizAutoLoad() in wp-content/plugins/bizuno-locale/controllers/toolXlate/admin.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function bizuno\\bizAutoLoad() in wp-content/plugins/bizuno-locale/modules/toolXlate/admin.php:28
- > PHP Warning
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 94% from 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
Attributes that need to be fixed:
- Screenshots: Screenshot #1 () image missing
bizuno-locale/bizuno-locale.php 85% from 13 tests
The main PHP file in "Bizuno Locale" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- 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
- Domain Path: The domain path folder was not found ("/locale")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin27,666 lines of code in 553 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 543 | 626 | 3,165 | 19,305 |
XML | 8 | 4 | 0 | 8,243 |
JavaScript | 2 | 6 | 16 | 118 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 93.62 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 435.00 |
Average method complexity | 5.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 278 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 170 | 61.15% |
▷ Protected methods | 79 | 28.42% |
▷ Private methods | 29 | 10.43% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin