Benchmarks
Plugin footprint 83% 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.23MB] [CPU: ▼7.72ms] Passed 4 tests
An overview of server-side resources used by Electronic Signature Add-on for Fluent Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 34.81 ▼11.08 |
Dashboard /wp-admin | 3.54 ▲0.19 | 46.02 ▼14.95 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 52.20 ▲7.23 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 93.25 ▼10.16 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 37.46 ▲5.33 |
E-Signature /wp-admin/admin.php?page=esign-fluentform-about | 3.56 | 42.20 |
About /wp-admin/admin.php?page=esign-fluentforms-about | 3.56 | 33.47 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 71 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
WP_ESignature__Fluent_Forms_Digital_Signature_documentation |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Electronic Signature Add-on for Fluent Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.47 ▼0.93 | 1.68 ▼0.19 | 41.70 ▼1.12 |
Dashboard /wp-admin | 2,238 ▲50 | 5.07 ▼0.79 | 106.82 ▼9.34 | 79.09 ▲35.08 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.32 ▲0.27 | 39.16 ▼0.96 | 37.55 ▲3.43 |
Add New Post /wp-admin/post-new.php | 1,709 ▲189 | 24.70 ▲1.41 | 743.02 ▲67.54 | 37.38 ▼28.24 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.47 ▲0.27 | 98.85 ▲0.39 | 81.73 ▲36.30 |
E-Signature /wp-admin/admin.php?page=esign-fluentform-about | 1,838 | 2.87 | 79.18 | 192.19 |
About /wp-admin/admin.php?page=esign-fluentforms-about | 1,857 | 2.88 | 70.26 | 102.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- WP_ESignature__Fluent_Forms_Digital_Signature_documentation
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/signature-fluent-contract-forms-add-on/admin/views/autoload.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/signature-fluent-contract-forms-add-on/admin/about/views/fluent-esign-about-steps.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/signature-fluent-contract-forms-add-on/admin/about/views/esign-iframe.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/signature-fluent-contract-forms-add-on/admin/about/autoload.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/signature-fluent-contract-forms-add-on/admin/views/fluent-esign-about-steps.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/signature-fluent-contract-forms-add-on/admin/views/alert-almost-done.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=esign-fluentforms-about
- > Network (severe)
wp-content/plugins/signature-fluent-contract-forms-add-on/admin/assets/images/pen_icon.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% 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 require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please a description for screenshot #16 in signature-fluent-contract-forms-add-on/assets to your readme.txt
signature-fluent-contract-forms-add-on/electronic-signature-for-fluent-forms.php 69% from 13 tests
"Electronic Signature Add-on for Fluent Forms" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 260 characters long)
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("signature-fluent-contract-forms-add-on.php" instead of "electronic-signature-for-fluent-forms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin3,492 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 693 | 232 | 1,906 |
CSS | 3 | 89 | 28 | 1,160 |
SVG | 12 | 1 | 1 | 287 |
JavaScript | 4 | 56 | 9 | 139 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 30 | 46.15% |
▷ Public methods | 59 | 90.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.23% |
Functions | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.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
20 PNG files occupy 1.39MB with 0.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/views/fluent-form.png | 70.47KB | 25.53KB | ▼ 63.77% |
admin/about/assets/images/ff-add-on-step-7.png | 185.26KB | 66.03KB | ▼ 64.36% |
admin/about/assets/images/ff-add-on-5a-1.png | 123.07KB | 44.56KB | ▼ 63.79% |
admin/about/assets/images/ff-add-on-step-1.png | 25.66KB | 10.43KB | ▼ 59.34% |
admin/about/assets/images/fluent-advisor.png | 51.35KB | 48.68KB | ▼ 5.21% |