Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼5.47ms] Passed 4 tests
An overview of server-side resources used by Signature Add-On for Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 38.30 ▼3.42 |
Dashboard /wp-admin | 3.70 ▲0.40 | 45.50 ▼2.76 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 46.93 ▼0.04 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 81.63 ▼15.67 |
Media Library /wp-admin/upload.php | 3.57 ▲0.33 | 37.40 ▲4.09 |
About /wp-admin/admin.php?page=esign-gravity-about | 3.64 | 33.42 |
Server storage [IO: ▲2.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 92 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
WP_ESignature__Gravity Form_documentation |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Signature Add-On for Gravity Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲44 | 14.14 ▼0.21 | 1.63 ▼0.34 | 41.34 ▲1.95 |
Dashboard /wp-admin | 2,224 ▲47 | 5.70 ▲0.13 | 81.73 ▼5.92 | 70.56 ▲29.28 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.01 ▲0.03 | 35.12 ▲0.38 | 33.36 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 24.26 ▲1.10 | 671.22 ▲71.88 | 61.17 ▲9.30 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.18 ▼0.09 | 93.95 ▼5.80 | 72.64 ▲30.81 |
About /wp-admin/admin.php?page=esign-gravity-about | 1,847 | 2.87 | 74.78 | 220.08 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- WP_ESignature__Gravity Form_documentation
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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
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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gravity-signature-forms-add-on/admin/views/alert-modal.php
- > /wp-content/plugins/gravity-signature-forms-add-on/admin/includes/esig-gf-script-settings.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/gravity-signature-forms-add-on/admin/about/views/esign-iframe.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php on line 2
- > PHP Notice
Undefined variable: data in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/gravity-signature-forms-add-on/admin/about/autoload.php:17
- > PHP Notice
Undefined variable: data in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php on line 1
- > PHP Notice
Undefined variable: data in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/gravity-signature-forms-add-on/admin/rating-widget/views/esig-ratting-widget-view.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'ESIG_GF_VALUE' not found in wp-content/plugins/gravity-signature-forms-add-on/admin/esig-gravity-form-admin.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
gravity-signature-forms-add-on/gravity-signature-forms-addon.php 77% from 13 tests
The main file in "Signature Add-On for Gravity Forms" v. 1.8.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("gravity-signature-forms-add-on.php" instead of "gravity-signature-forms-addon.php")
- Description: The description should be shorter than 140 characters (currently 261 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin4,449 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 1,032 | 475 | 2,567 |
CSS | 5 | 97 | 31 | 1,230 |
JavaScript | 6 | 107 | 20 | 329 |
SVG | 12 | 1 | 2 | 205 |
PO File | 1 | 41 | 44 | 118 |
PHP code Passed 2 tests
Analyzing 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.39 |
Average class complexity | 29.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 1 | 10.00% |
▷ Concrete classes | 9 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 46 | 38.66% |
▷ Public methods | 106 | 89.08% |
▷ Protected methods | 2 | 1.68% |
▷ Private methods | 11 | 9.24% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
20 PNG files occupy 1.29MB with 0.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/about/assets/images/gf-add-on-step-1.png | 23.28KB | 7.37KB | ▼ 68.33% |
admin/views/gravity-form.png | 48.76KB | 14.66KB | ▼ 69.93% |
admin/about/assets/images/gf-add-on-5a-2.png | 130.40KB | 39.59KB | ▼ 69.64% |
admin/about/assets/images/gf-add-on-step-3.png | 80.37KB | 25.57KB | ▼ 68.18% |
admin/about/assets/images/gf-preview-webpage.png | 11.63KB | 11.62KB | 0.10% |