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.09MB] [CPU: ▼2.63ms] Passed 4 tests
Analyzing server-side resources used by Integration of Zoho CRM and Fluent Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.65 ▼1.04 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.17 ▼5.03 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.74 ▲0.25 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.53 ▼4.69 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.84 ▲3.47 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 79 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_bitffzc_gclid |
wp_bitffzc_zoho_crm_log_details |
wp_bitffzc_integration |
New WordPress options |
---|
bitffzc_version |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
bitffzc_installed |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration of Zoho CRM and Fluent Form
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.33 ▼0.03 | 1.54 ▼0.07 | 41.76 ▲4.58 |
Dashboard /wp-admin | 2,195 ▲14 | 5.62 ▲0.04 | 81.12 ▼29.13 | 41.08 ▼3.01 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.03 | 40.22 ▲1.39 | 36.25 ▼4.95 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.22 ▲0.01 | 668.50 ▲9.02 | 52.79 ▼2.57 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.10 ▼0.13 | 109.77 ▲13.75 | 46.66 ▲3.65 |
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: 3 tables
- wp_bitffzc_integration
- wp_bitffzc_zoho_crm_log_details
- wp_bitffzc_gclid
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- bitffzc_version
- can_compress_scripts
- theysaidso_admin_options
- bitffzc_installed
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/integration-of-zoho-crm-and-fluent-form/assets/js/index.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/integration-of-zoho-crm-and-fluent-form/languages/generatedString.php:4
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITFFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-fluent-form/includes/Core/Database/IntegrationModel.php:12
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITFFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-fluent-form/includes/Core/Database/GclidModel.php:12
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITFFZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-fluent-form/includes/Core/Database/LogModel.php:12
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (48 tag instead of maximum 10); only the first 5 tags are used in your directory listing
integration-of-zoho-crm-and-fluent-form/bitffzc.php 85% from 13 tests
The primary PHP file in "Integration of Zoho CRM and Fluent Form" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("integration-of-zoho-crm-and-fluent-form.php" instead of "bitffzc.php")
Code Analysis Passed 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 plugin3,423 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 549 | 756 | 3,362 |
JSON | 3 | 0 | 0 | 38 |
JavaScript | 20 | 0 | 3 | 20 |
CSS | 2 | 0 | 0 | 2 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 18.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.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 | 143 | 89.38% |
▷ Protected methods | 9 | 5.62% |
▷ Private methods | 8 | 5.00% |
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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/img/logo.png | 7.03KB | 0.00KB | ▼ 100.00% |