Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.01ms] Passed 4 tests
A check of server-side resources used by Integration of Zoho CRM and Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.87 ▲0.18 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.90 ▼1.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.38 ▲0.36 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.84 ▼15.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.51 ▲0.83 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 85 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_bitcf7zc_integration |
wp_bitcf7zc_gclid |
wp_bitcf7zc_zoho_crm_log_details |
New WordPress options |
---|
can_compress_scripts |
bitcf7zc_version |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
bitcf7zc_installed |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration of Zoho CRM and Contact Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 14.45 ▲0.14 | 2.03 ▲0.05 | 40.51 ▼0.74 |
Dashboard /wp-admin | 2,205 ▲17 | 5.83 ▲0.97 | 112.98 ▲3.99 | 39.97 ▼1.25 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.16 ▲0.17 | 40.22 ▲4.56 | 38.24 ▲3.22 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 23.37 ▲5.03 | 655.85 ▲15.96 | 75.13 ▲19.41 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.27 ▲0.10 | 97.44 ▲0.77 | 39.42 ▼3.08 |
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
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_bitcf7zc_zoho_crm_log_details
- wp_bitcf7zc_gclid
- wp_bitcf7zc_integration
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- bitcf7zc_installed
- widget_recent-posts
- bitcf7zc_version
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/integration-of-zoho-crm-and-contact-form-7/assets/js/index.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITCF7ZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-contact-form-7/includes/Core/Database/IntegrationModel.php:12
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITCF7ZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-contact-form-7/includes/Core/Database/LogModel.php:12
- > PHP Fatal error
Uncaught Error: Class 'BitCode\\BITCF7ZC\\Core\\Database\\Model' not found in wp-content/plugins/integration-of-zoho-crm-and-contact-form-7/includes/Core/Database/GclidModel.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/integration-of-zoho-crm-and-contact-form-7/languages/generatedString.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: cf7 and zoho, zoho and cf7, zoho integration, contact form 7 integration, integration...
integration-of-zoho-crm-and-contact-form-7/bitcf7zc.php 85% from 13 tests
Analyzing the main PHP file in "Integration of Zoho CRM and Contact Form 7" version 1.0.4
It is important to fix the following:
- 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("integration-of-zoho-crm-and-contact-form-7.php" instead of "bitcf7zc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,825 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 560 | 838 | 3,763 |
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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 20.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 5.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 23 | 63.89% |
Methods | 168 | |
▷ Static methods | 56 | 33.33% |
▷ Public methods | 153 | 91.07% |
▷ Protected methods | 8 | 4.76% |
▷ Private methods | 7 | 4.17% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.07MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/img/bit-form960e4fb1.png | 37.44KB | 0.00KB | ▼ 100.00% |
(invalid) assets/img/bit-form.png | 37.44KB | 0.00KB | ▼ 100.00% |