Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.69ms] Passed 4 tests
Analyzing server-side resources used by Integration of Zoho CRM and Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 52.15 ▲9.25 |
Dashboard /wp-admin | 3.40 ▲0.05 | 51.44 ▼13.10 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 51.45 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.96 ▼22.37 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.63 ▲2.91 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 79 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_bitgfzc_gclid |
wp_bitgfzc_integration |
wp_bitgfzc_zoho_crm_log_details |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
bitgfzc_installed |
can_compress_scripts |
bitgfzc_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Integration of Zoho CRM and Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 14.64 ▼0.11 | 1.91 ▼0.22 | 42.97 ▼0.22 |
Dashboard /wp-admin | 2,216 ▲28 | 5.87 ▲0.96 | 102.15 ▼14.64 | 41.24 ▼0.27 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.03 | 36.22 ▼4.04 | 35.12 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.25 ▲4.80 | 676.36 ▲42.03 | 49.69 ▼1.35 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.22 ▲0.01 | 98.65 ▼10.70 | 45.48 ▼1.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_bitgfzc_gclid
- wp_bitgfzc_integration
- wp_bitgfzc_zoho_crm_log_details
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- bitgfzc_version
- bitgfzc_installed
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/integration-of-zoho-crm-and-gravity-forms/assets/js/index.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITGFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-gravity-forms/includes/Core/Database/GclidModel.php:12
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITGFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-gravity-forms/includes/Core/Database/IntegrationModel.php:12
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITGFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-gravity-forms/includes/Core/Database/LogModel.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/integration-of-zoho-crm-and-gravity-forms/languages/generatedString.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 50 tag instead of maximum 10
integration-of-zoho-crm-and-gravity-forms/bitgfzc.php 85% from 13 tests
The principal PHP file in "Integration of Zoho CRM and Gravity Forms" v. 1.0.2 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("integration-of-zoho-crm-and-gravity-forms.php" instead of "bitgfzc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin3,404 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 540 | 754 | 3,342 |
JSON | 3 | 0 | 0 | 38 |
JavaScript | 20 | 0 | 3 | 20 |
CSS | 2 | 0 | 0 | 2 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 18.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 20 | 60.61% |
Methods | 160 | |
▷ Static methods | 53 | 33.12% |
▷ Public methods | 144 | 90.00% |
▷ Protected methods | 9 | 5.62% |
▷ Private methods | 7 | 4.38% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
No PNG images were found in this plugin