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.26MB] [CPU: ▼4.91ms] Passed 4 tests
This is a short check of server-side resources used by Inventory Connector for Zoho and WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 43.60 ▲2.65 |
Dashboard /wp-admin | 3.65 ▲0.34 | 52.03 ▼3.72 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 50.11 ▼0.65 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 86.28 ▼15.39 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 40.05 ▲0.12 |
Server storage [IO: ▲2.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 31 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_bc_inventory_connector_log |
wp_bc_inventory_connector |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
bc_inventory_connector_installed |
bc_inventory_connector_version |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Inventory Connector for Zoho and WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.35 ▼0.23 | 1.87 ▲0.06 | 42.81 ▼1.12 |
Dashboard /wp-admin | 2,239 ▲59 | 5.63 ▼0.05 | 91.56 ▼1.85 | 40.07 ▼2.52 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.03 ▲0.04 | 36.72 ▼0.42 | 33.53 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 23.68 ▲5.19 | 677.31 ▲5.63 | 54.04 ▼7.57 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.16 ▼0.01 | 96.79 ▼16.55 | 47.03 ▲2.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- can_compress_scripts
- bc_inventory_connector_version
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- bc_inventory_connector_installed
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bstd-wc-zcrm/views/view-root.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/bstd-wc-zcrm/includes/API/Routes/Routes.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: zoho, connector, woocommerce, woocommerce integration, inventory...
bstd-wc-zcrm/bc_inventory_connector.php 77% from 13 tests
This is the main PHP file of "Inventory Connector for Zoho and WooCommerce" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("bstd-wc-zcrm.php" instead of "bc_inventory_connector.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 detected1,616 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 279 | 592 | 1,598 |
JSON | 2 | 0 | 0 | 16 |
JavaScript | 2 | 0 | 3 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 17.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 5 | 38.46% |
Methods | 87 | |
▷ Static methods | 27 | 31.03% |
▷ Public methods | 80 | 91.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 8.05% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
2 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/wooCommece_inventory.png | 66.04KB | 28.51KB | ▼ 56.83% |
assets/img/boosted_crm_logo.png | 22.87KB | 13.27KB | ▼ 41.96% |