Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.35MB] [CPU: ▲1.01ms] Passed 4 tests
Analyzing server-side resources used by Formidable Forms Signature Online Contract Automation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 40.71 ▼6.98 |
Dashboard /wp-admin | 3.69 ▲0.39 | 48.64 ▲3.95 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 53.04 ▲4.91 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 99.46 ▲2.14 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 43.11 ▲7.69 |
About /wp-admin/admin.php?page=esign-formidableform-about | 3.63 | 33.92 |
E-signature /wp-admin/admin.php?page=esign-formidableforms-about | 3.62 | 34.64 |
Server storage [IO: ▲3.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 108 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
WP_ESignature__Formidable_Forms_Digital_Signature_documentation |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Formidable Forms Signature Online Contract Automation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.57 ▼0.86 | 1.74 ▼0.35 | 41.19 ▼6.74 |
Dashboard /wp-admin | 2,232 ▲40 | 5.82 ▲0.93 | 103.22 ▼2.54 | 88.82 ▲48.30 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 1.99 ▼0.03 | 38.08 ▲3.49 | 34.48 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,701 ▲159 | 24.63 ▲6.32 | 690.93 ▲72.45 | 65.81 ▲14.11 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.21 ▲0.00 | 95.75 ▼5.65 | 67.39 ▲22.71 |
About /wp-admin/admin.php?page=esign-formidableform-about | 1,870 | 2.86 | 79.30 | 238.33 |
E-signature /wp-admin/admin.php?page=esign-formidableforms-about | 1,867 | 2.88 | 67.26 | 78.39 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- WP_ESignature__Formidable_Forms_Digital_Signature_documentation
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/views/esig-core-about.php
- > /wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/assets/js/index.php
- 15× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/forms-signature-formidable-online-contract-automation/formidable-forms-approveme-digital-signature.php:43
- > PHP Notice
Undefined variable: data in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/rating-widget/views/esig-ratting-widget-view.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/rating-widget/views/esig-ratting-widget-view.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/about/views/esign-iframe.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/rating-widget/views/esig-ratting-widget-view.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/rating-widget/views/esig-ratting-widget-view.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/views/alert-almost-done.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/includes/esig_action_settings.php:4
- > PHP Notice
Undefined variable: data in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/rating-widget/views/esig-ratting-widget-view.php on line 2
- > PHP Notice
Undefined variable: data in wp-content/plugins/forms-signature-formidable-online-contract-automation/admin/rating-widget/views/esig-ratting-widget-view.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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: You are using too many tags: 27 tag instead of maximum 10
forms-signature-formidable-online-contract-automation/formidable-forms-approveme-digital-signature.php 77% from 13 tests
The entry point to "Formidable Forms Signature Online Contract Automation" version 1.8.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 252 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("forms-signature-formidable-online-contract-automation.php" instead of "formidable-forms-approveme-digital-signature.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected4,251 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 882 | 327 | 2,395 |
CSS | 6 | 126 | 43 | 1,440 |
JavaScript | 5 | 96 | 10 | 210 |
SVG | 12 | 2 | 1 | 206 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 28.38 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 92 | |
▷ Static methods | 43 | 46.74% |
▷ Public methods | 86 | 93.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 6.52% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 5 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
37 PNG files occupy 2.59MB with 1.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/formidableform-add-on-5a-1.png | 16.25KB | 10.08KB | ▼ 37.95% |
admin/about/assets/images/gf-girl-on-laptop-small.png | 21.18KB | 5.83KB | ▼ 72.47% |
admin/about/assets/images/companies/HBO_Latino_Logo.png | 3.19KB | 1.90KB | ▼ 40.38% |
(invalid) icon.png | 28.12KB | 0.00KB | ▼ 100.00% |
admin/about/assets/images/formidableform-add-on-step-6.png | 190.52KB | 74.18KB | ▼ 61.07% |