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.40MB] [CPU: ▼5.69ms] Passed 4 tests
A check of server-side resources used by WP Gravity Forms Zoho CRM and Bigin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 45.67 ▲5.58 |
Dashboard /wp-admin | 3.75 ▲0.45 | 50.18 ▼1.30 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 46.90 ▼2.49 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 82.57 ▼20.99 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 37.58 ▲2.04 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxg_zoho_accounts |
wp_vxg_zoho |
wp_vxg_zoho_log |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
vxg_zoho_pro_version |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
WP Gravity Forms Zoho CRM and Bigin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.66 ▼0.74 | 1.77 ▲0.08 | 43.78 ▲1.53 |
Dashboard /wp-admin | 2,228 ▲43 | 4.85 ▼0.03 | 98.49 ▼15.10 | 41.78 ▼2.74 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.07 ▲0.07 | 40.08 ▼1.01 | 32.84 ▼5.09 |
Add New Post /wp-admin/post-new.php | 1,532 ▼11 | 17.65 ▼0.45 | 683.16 ▲27.27 | 51.15 ▼0.40 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.31 ▲0.10 | 96.03 ▼8.96 | 43.23 ▼0.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 3 tables in the database
- wp_vxg_zoho_log
- wp_vxg_zoho_accounts
- wp_vxg_zoho
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- vxg_zoho_pro_version
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: zoho addon, zoho, zoho leads, gravity forms, zoho plugin...
gf-zoho/gf-zoho.php 92% from 13 tests
The main PHP script in "WP Gravity Forms Zoho CRM and Bigin" version 1.2.1 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected7,323 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 784 | 933 | 7,317 |
JavaScript | 2 | 1 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 127.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 343.00 |
Average method complexity | 6.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 182 | |
▷ Static methods | 3 | 1.65% |
▷ Public methods | 172 | 94.51% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 5.49% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/updated.png | 1.53KB | 0.50KB | ▼ 67.37% |
images/Android.png | 0.56KB | 0.62KB | 0.00% |
images/created.png | 1.52KB | 0.50KB | ▼ 67.24% |
images/filtered.png | 1.47KB | 0.48KB | ▼ 67.40% |
images/zoho-crm-logo.png | 14.86KB | 5.03KB | ▼ 66.16% |