Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.62ms] Passed 4 tests
A check of server-side resources used by Form plugin for Wordpress - Zoho Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.86 ▼0.82 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.65 ▼16.75 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.30 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.12 ▼15.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.50 ▲0.78 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Form plugin for Wordpress - Zoho Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.20 | 1.81 ▲0.14 | 38.66 ▼3.62 |
Dashboard /wp-admin | 2,209 ▲18 | 5.86 ▲0.99 | 107.10 ▲1.14 | 39.74 ▼3.77 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.98 ▼0.06 | 40.88 ▲4.01 | 34.33 ▼0.15 |
Add New Post /wp-admin/post-new.php | 6,353 ▲4,839 | 27.56 ▲6.19 | 908.10 ▲210.53 | 61.84 ▲14.79 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.00 | 103.02 ▲2.24 | 46.05 ▲1.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/zoho-forms/tinymce/zforms_dialog.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/zoho-forms/zohoForms.php:14
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
zoho-forms/zohoForms.php 92% from 13 tests
The main PHP script in "Form plugin for Wordpress - Zoho Forms" version 3.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zoho-forms.php" instead of "zohoForms.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
Everything looks great! No dangerous files found in this plugin2,522 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 71 | 35 | 1,256 |
CSS | 2 | 85 | 3 | 980 |
PHP | 3 | 42 | 14 | 286 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tinymce/zFormsIcon.png | 0.55KB | 0.52KB | ▼ 5.00% |
tinymce/zoho-logo.png | 14.68KB | 14.67KB | 0.08% |
tinymce/zohoforms.png | 0.55KB | 0.52KB | ▼ 5.00% |
(invalid) tinymce/fieldprop-plus.png | 15.06KB | 0.00KB | ▼ 100.00% |
tinymce/smallLogo.png | 3.70KB | 1.79KB | ▼ 51.64% |