Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼291.81ms] Passed 4 tests
This is a short check of server-side resources used by Caldera Forms Signature Contract Add-On
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.11 | 52.23 ▲3.67 |
Dashboard /wp-admin | 3.47 ▲0.06 | 33.27 ▲1.14 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 39.01 ▲1.32 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.03 | 93.29 ▼1,166.71 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 24.49 ▼2.97 |
E-Signature /wp-admin/admin.php?page=esign-caldera-about | 3.45 | 23.11 |
Server storage [IO: ▲3.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 1 new option
New WordPress options |
---|
WP_ESignature__Caldera_Forms_Digital_Signature_documentation |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Caldera Forms Signature Contract Add-On
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,829 ▲75 | 16.31 ▲0.31 | 6.08 ▼0.57 | 2.22 ▼0.87 |
Dashboard /wp-admin | 2,956 ▲105 | 7.09 ▲0.88 | 116.15 ▼14.05 | 173.65 ▲23.71 |
Posts /wp-admin/edit.php | 2,759 ▲68 | 3.67 ▲0.30 | 63.94 ▲0.92 | 161.75 ▲21.81 |
Add New Post /wp-admin/post-new.php | 1,811 ▲150 | 22.41 ▲6.32 | 404.80 ▲1.70 | 160.66 ▲5.09 |
Media Library /wp-admin/upload.php | 1,763 ▲65 | 5.93 ▲0.42 | 124.58 ▼11.30 | 201.61 ▲6.85 |
E-Signature /wp-admin/admin.php?page=esign-caldera-about | 2,668 | 4.38 | 118.42 | 340.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 1 option
- WP_ESignature__Caldera_Forms_Digital_Signature_documentation
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/assets/js/index.php
- > /wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/views/esig-core-about.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/signature-caldera-forms-online-contract-add-on/cf-signature-addon.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/about/autoload.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/about/views/caldera-esign-about-steps.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/includes/core-alert.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESIG_CF_SETTING' not found in wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/esig-cfds-admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/includes/core-alert.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/signature-caldera-forms-online-contract-add-on/admin/views/alert-almost-done.php:7
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 83% 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: Please reduce the number of tags, currently 27 tag instead of maximum 10
- Screenshots: Please describe screenshot #16 in signature-caldera-forms-online-contract-add-on/assets to your readme.txt
signature-caldera-forms-online-contract-add-on/cf-signature-addon.php 77% from 13 tests
Analyzing the main PHP file in "Caldera Forms Signature Contract Add-On" version 1.5.7.5
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 264 characters long)
- 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
- Main file name: The principal plugin file should be the same as the plugin slug ("signature-caldera-forms-online-contract-add-on.php" instead of "cf-signature-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,410 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 729 | 279 | 1,938 |
CSS | 3 | 104 | 33 | 1,242 |
SVG | 11 | 1 | 1 | 196 |
JavaScript | 2 | 38 | 7 | 34 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 27 | 45.00% |
▷ Public methods | 54 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 10.00% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 5 | 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
30 PNG files occupy 2.88MB with 1.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/cf-add-on-step-4.png | 47.89KB | 28.87KB | ▼ 39.72% |
admin/about/assets/images/cf-add-on-5a-1.png | 110.93KB | 46.27KB | ▼ 58.29% |
admin/about/assets/images/gf-completed-steps.png | 23.42KB | 23.45KB | 0.00% |
admin/includes/gravity-form.png | 48.76KB | 14.66KB | ▼ 69.93% |
admin/assets/images/cf-add-on-step-6.png | 234.66KB | 91.20KB | ▼ 61.14% |