Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼5.64ms] Passed 4 tests
A check of server-side resources used by Integration of WooCommerce and Zoho CRM
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.58 ▲4.70 |
Dashboard /wp-admin | 3.71 ▲0.40 | 48.65 ▼2.47 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 45.03 ▼5.16 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.36 | 82.42 ▼17.61 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 38.65 ▲2.69 |
Server storage [IO: ▲3.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_bit_wc_zoho_crm_integration |
wp_bit_wc_zoho_crm_log |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
bit_wc_zoho_crm_version |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
bit_wc_zoho_crm_installed |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration of WooCommerce and Zoho CRM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.36 ▲0.00 | 1.65 ▲0.10 | 43.83 ▲5.14 |
Dashboard /wp-admin | 2,232 ▲55 | 5.63 ▲0.10 | 91.58 ▲5.11 | 41.51 ▲0.23 |
Posts /wp-admin/edit.php | 2,138 ▲35 | 2.03 ▲0.08 | 35.53 ▼0.49 | 32.86 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.30 ▲0.18 | 649.21 ▼34.16 | 54.25 ▲3.10 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.21 ▲0.01 | 93.58 ▼9.61 | 42.16 ▼1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_bit_wc_zoho_crm_integration
- wp_bit_wc_zoho_crm_log
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- bit_wc_zoho_crm_version
- can_compress_scripts
- bit_wc_zoho_crm_installed
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/crm-for-wc-in-zoho/views/view-root.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/crm-for-wc-in-zoho/includes/API/Routes/Routes.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
10 plugin tags: woocommerce with zoho, zoho with woocommerce, integration, woocommerce integration, woocommerce...
crm-for-wc-in-zoho/bit_wc_zoho_crm.php 77% from 13 tests
This is the main PHP file of "Integration of WooCommerce and Zoho CRM" version 2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("crm-for-wc-in-zoho.php" instead of "bit_wc_zoho_crm.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,452 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 364 | 615 | 2,420 |
JSON | 2 | 0 | 0 | 16 |
JavaScript | 4 | 5 | 6 | 16 |
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.57 |
Average class complexity | 31.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 6 | 40.00% |
Methods | 108 | |
▷ Static methods | 40 | 37.04% |
▷ Public methods | 102 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 5.56% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected