Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼4.60ms] Passed 4 tests
Server-side resources used by Easy Woocommerce ZOHO CRM Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.76 ▼12.32 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.03 ▼0.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.28 ▲4.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.23 ▼8.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.90 ▲3.54 |
Bulk Integration /wp-admin/admin.php?page=easy_wc_zohocrm_integration | 3.18 | 28.43 |
Configuration /wp-admin/admin.php?page=easy_wc_zohocrm_configuration | 3.18 | 27.68 |
Integration Settings /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings | 3.18 | 24.85 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
easy_wc_zohocrm_modules_fields |
can_compress_scripts |
easy_wc_zohocrm_modules |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Woocommerce ZOHO CRM Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.62 ▼0.76 | 4.52 ▲2.71 | 41.35 ▼4.39 |
Dashboard /wp-admin | 2,228 ▲40 | 5.84 ▲0.03 | 101.23 ▼17.20 | 39.54 ▼3.09 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.05 ▼0.01 | 34.87 ▲1.41 | 32.86 ▼4.51 |
Add New Post /wp-admin/post-new.php | 1,559 ▲26 | 23.07 ▼0.36 | 664.62 ▼3.34 | 53.77 ▼8.65 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.19 ▼0.10 | 100.40 ▼0.54 | 44.03 ▲0.91 |
Bulk Integration /wp-admin/admin.php?page=easy_wc_zohocrm_integration | 895 | 2.05 | 29.78 | 29.55 |
Configuration /wp-admin/admin.php?page=easy_wc_zohocrm_configuration | 870 | 2.20 | 24.11 | 21.94 |
Integration Settings /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings | 851 | 2.03 | 25.21 | 25.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- easy_wc_zohocrm_modules
- easy_wc_zohocrm_modules_fields
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-bulk-integration.php+12
Undefined index: paged
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-bulk-integration.php+13
Undefined index: easy_wc_zohocrm_type
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-bulk-integration.php+14
Undefined index: easy_wc_zohocrm_record_per_page
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_configuration
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-zohocrm-config.php+12
Undefined index: submit
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_configuration
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-zohocrm-config.php+30
Undefined index: code
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-integration-settings.php+18
Undefined index: wc
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/class/class-zoho.php+53
Trying to get property 'api_domain' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/class/class-zoho.php+60
Trying to get property 'access_token' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/class/class-zoho.php+40
Trying to get property 'refresh_token' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=easy_wc_zohocrm_integration_settings
- > Notice in wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/class/class-zoho.php+40
Undefined variable: domain_setup
SRP 50% 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
Please take a closer look at the following
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/class/class-zoho.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/includes.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-bulk-integration.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-zohocrm-config.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-core.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/uninstall.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/admin/admin-integration-settings.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/includes/functions.php
- > /wp-content/plugins/easy-woocommerce-zoho-crm-integration/easy-woocommerce-zoho-integration.php
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 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Integrating Zoho CRM with Wordpress), #2 (Screenshot 1), #3 (Screenshot 2), #4 (Screenshot 3)
- Donate link: Invalid URI ("")
easy-woocommerce-zoho-crm-integration/easy-woocommerce-zoho-integration.php 92% from 13 tests
The main PHP file in "Easy Woocommerce ZOHO CRM Integration" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-woocommerce-zoho-crm-integration.php" instead of "easy-woocommerce-zoho-integration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,120 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 105 | 71 | 1,120 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.78MB with 0.58MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 183.71KB | 45.57KB | ▼ 75.19% |
screenshot-1.png | 214.92KB | 57.03KB | ▼ 73.47% |
screenshot-4.png | 260.80KB | 66.78KB | ▼ 74.39% |
screenshot-3.png | 142.13KB | 35.66KB | ▼ 74.91% |