Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.58ms] Passed 4 tests
This is a short check of server-side resources used by inoday-Web-to-Lead-Zoho
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.08 ▼5.80 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.42 ▼3.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.23 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.37 ▼2.61 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.39 ▲3.61 |
Zoho Settings /wp-admin/options-general.php?page=cf7liz_plugin | 3.18 | 31.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
inoday-Web-to-Lead-Zoho: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.62 ▼0.73 | 2.22 ▲0.19 | 39.48 ▼9.86 |
Dashboard /wp-admin | 2,210 ▲19 | 5.83 ▼0.07 | 96.41 ▼3.07 | 40.80 ▲0.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.01 | 37.11 ▼4.25 | 33.36 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.15 ▼4.94 | 640.90 ▲49.64 | 56.82 ▲8.25 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.30 ▲0.08 | 93.01 ▼2.33 | 42.93 ▲2.60 |
Zoho Settings /wp-admin/options-general.php?page=cf7liz_plugin | 798 | 2.06 | 34.47 | 37.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cf7liz_plugin
- > Notice in wp-content/plugins/cf7-leads-integrate-in-zoho/admin/admin.php+51
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cf7-leads-integrate-in-zoho/zoholeads.php:13
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 need descriptions #1, #2, #3 in cf7-leads-integrate-in-zoho/assets to your readme.txt
cf7-leads-integrate-in-zoho/zoholeads.php 92% from 13 tests
The principal PHP file in "inoday-Web-to-Lead-Zoho" v. 1.3.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cf7-leads-integrate-in-zoho.php" instead of "zoholeads.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
No dangerous file extensions were detected89 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 20 | 19 | 89 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There were not PNG files found in your plugin