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: ▲1.07MB] [CPU: ▲4.32ms] Passed 4 tests
A check of server-side resources used by Bizapp for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.57 ▲1.11 | 55.06 ▲15.94 |
Dashboard /wp-admin | 4.40 ▲1.10 | 56.79 ▲5.71 |
Posts /wp-admin/edit.php | 4.45 ▲1.10 | 57.19 ▲5.15 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.06 | 106.02 ▼5.01 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 44.63 ▲11.42 |
Codestar Framework /wp-admin/tools.php?page=csf-welcome | 4.31 | 49.39 |
Dashboard /wp-admin/plugins.php?page=meta-box | 4.26 | 42.42 |
Server storage [IO: ▲1.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 402 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
bizapp |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Bizapp for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.32 ▼0.24 | 1.87 ▲0.35 | 43.81 ▲0.81 |
Dashboard /wp-admin | 2,231 ▲51 | 5.67 ▼0.03 | 83.41 ▼3.73 | 83.74 ▲39.95 |
Posts /wp-admin/edit.php | 2,139 ▲36 | 1.98 ▼0.03 | 34.03 ▼7.25 | 32.35 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,570 ▲44 | 25.23 ▲1.98 | 657.82 ▼5.63 | 118.87 ▲72.04 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.26 ▲0.10 | 102.32 ▲5.94 | 80.62 ▲38.22 |
Codestar Framework /wp-admin/tools.php?page=csf-welcome | 1,460 | 3.48 | 49.48 | 90.06 |
Orders Creation /wp-admin/admin.php?page=bizapp#tab=orders-creation | 1,206 | 3.35 | 54.02 | 66.71 |
API Credentials /wp-admin/admin.php?page=bizapp#tab=api-credentials | 1,205 | 3.69 | 48.71 | 70.06 |
Dashboard /wp-admin/plugins.php?page=meta-box | 1,363 | 2.19 | 25.76 | 43.44 |
Products Sync /wp-admin/admin.php?page=bizapp#tab=products-sync | 1,226 | 3.40 | 52.53 | 81.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- bizapp
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/templates/media.php
- > /wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/templates/upload.php
- > /wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/templates/video.php
- > /wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/templates/audio.php
- > /wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/templates/image-advanced.php
- 64× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/textarea.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Choice_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/select.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Image_Advanced_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/image-upload.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/button.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Taxonomy_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/taxonomy-advanced.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/wysiwyg.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/background.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/color.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/about/sections/products.php:12
- > PHP Fatal error
Uncaught Error: Class 'RWMB_File_Field' not found in wp-content/plugins/bizapp-for-woocommerce/libraries/meta-box/inc/fields/media.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: woocommerce, product, order, bizapp, integration...
bizapp-for-woocommerce/bizapp-woocommerce.php 92% from 13 tests
Analyzing the main PHP file in "Bizapp for WooCommerce" version 1.2.10
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bizapp-for-woocommerce.php" instead of "bizapp-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected26,440 lines of code in 353 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 188 | 3,578 | 5,265 | 15,354 |
PO File | 20 | 3,197 | 3,594 | 6,490 |
JavaScript | 99 | 531 | 452 | 2,201 |
CSS | 41 | 149 | 121 | 2,009 |
Markdown | 2 | 85 | 0 | 379 |
SVG | 3 | 0 | 0 | 7 |
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.47 |
Average class complexity | 12.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 1 | |
Classes | 151 | |
▷ Abstract classes | 9 | 5.96% |
▷ Concrete classes | 142 | 94.04% |
▷ Final classes | 0 | 0.00% |
Methods | 673 | |
▷ Static methods | 318 | 47.25% |
▷ Public methods | 604 | 89.75% |
▷ Protected methods | 33 | 4.90% |
▷ Private methods | 36 | 5.35% |
Functions | 39 | |
▷ Named functions | 35 | 89.74% |
▷ Anonymous functions | 4 | 10.26% |
Constants | 12 | |
▷ Global constants | 11 | 91.67% |
▷ Class constants | 1 | 8.33% |
▷ Public constants | 1 | 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
17 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libraries/meta-box/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
libraries/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
libraries/meta-box/img/jqueryui/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
libraries/meta-box/img/jqueryui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
libraries/meta-box/img/jqueryui/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |