Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼8.95ms] Passed 4 tests
Server-side resources used by Integration for WooCommerce and Zoho CRM, Books, Invoice, Inventory, Bigin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 38.03 ▼0.91 |
Dashboard /wp-admin | 3.64 ▲0.29 | 46.32 ▼16.53 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 44.90 ▲2.96 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 82.92 ▼19.07 |
Media Library /wp-admin/upload.php | 3.55 ▲0.33 | 36.14 ▲0.73 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 67 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_vxc_zoho_accounts |
wp_vxc_zoho_log |
New WordPress options |
---|
can_compress_scripts |
vxc_zoho_pro_version |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Integration for WooCommerce and Zoho CRM, Books, Invoice, Inventory, Bigin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲93 | 14.33 ▼0.10 | 1.88 ▲0.06 | 37.89 ▼7.59 |
Dashboard /wp-admin | 2,220 ▲42 | 5.52 ▼0.32 | 84.31 ▼32.34 | 40.17 ▼6.38 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.03 ▲0.08 | 38.44 ▼2.85 | 34.44 ▼1.87 |
Add New Post /wp-admin/post-new.php | 1,544 ▲13 | 23.57 ▲0.87 | 693.38 ▲70.88 | 68.00 ▲12.90 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.19 ▼0.06 | 99.21 ▲4.77 | 43.65 ▲3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_vxc_zoho_log
- wp_vxc_zoho_accounts
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- vxc_zoho_pro_version
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-zoho/templates/crm-order-box.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: woocommerce zoho integration, zoho, woocommerce zoho, zoho books, zoho inventory...
woo-zoho/woo-zoho.php Passed 13 tests
The principal PHP file in "Integration for WooCommerce and Zoho CRM, Books, Invoice, Inventory, Bigin" v. 1.3.9 is loaded by WordPress automatically on each request
99 characters long description:
Integrates WooCommerce with Zoho allowing new orders to be automatically sent to your Zoho account.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin8,928 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 821 | 938 | 8,096 |
SVG | 1 | 0 | 0 | 640 |
CSS | 4 | 37 | 12 | 186 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 205)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 250.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 581.00 |
Average method complexity | 9.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 205.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 166 | |
▷ Static methods | 3 | 1.81% |
▷ Public methods | 164 | 98.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.20% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
32 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_flat_75_ba9217_40x100.png | 0.20KB | 0.08KB | ▼ 57.77% |
images/failed.png | 1.54KB | 0.48KB | ▼ 68.88% |
images/zoho-crm-logo.png | 14.86KB | 5.03KB | ▼ 66.16% |
css/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_diagonals-small_75_ccd232_40x40.png | 0.33KB | 0.10KB | ▼ 69.97% |