Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼7.96ms] Passed 4 tests
A check of server-side resources used by Wing Forms Plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 44.45 ▼3.27 |
Dashboard /wp-admin | 3.56 ▲0.21 | 51.44 ▼11.50 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 55.32 ▼1.92 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 88.68 ▼15.13 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 41.03 ▲5.28 |
Wing Forms 1 /wp-admin/admin.php?page=wfp | 3.48 | 39.98 |
Add New /wp-admin/admin.php?page=wfp-new | 3.64 | 40.68 |
Integration /wp-admin/admin.php?page=wfp-integration | 3.48 | 63.42 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 117 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
wfp |
widget_recent-comments |
Browser metrics Passed 4 tests
Wing Forms Plugin for WordPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲74 | 13.24 ▼1.12 | 2.19 ▲0.23 | 39.62 ▼3.53 |
Dashboard /wp-admin | 2,242 ▲54 | 4.89 ▼0.99 | 109.86 ▲6.84 | 40.33 ▲1.28 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 1.99 ▼0.03 | 37.38 ▼0.39 | 38.85 ▲3.57 |
Add New Post /wp-admin/post-new.php | 6,216 ▲4,697 | 19.01 ▼4.42 | 932.44 ▲274.23 | 54.59 ▲0.32 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.21 ▼0.01 | 109.46 ▲4.54 | 47.37 ▲3.04 |
Wing Forms 1 /wp-admin/admin.php?page=wfp | 1,297 | 1.95 | 34.73 | 47.99 |
Add New /wp-admin/admin.php?page=wfp-new | 3,583 | 2.75 | 52.57 | 51.95 |
Integration /wp-admin/admin.php?page=wfp-integration | 968 | 2.40 | 28.93 | 30.31 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- wfp
- can_compress_scripts
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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wing-forms/admin/edit-wing-form.php
- 68× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WFP_SWV_Rule' not found in wp-content/plugins/wing-forms/includes/swv/rules/mindate.php:3
- > PHP Fatal error
require_once(): Failed opening required 'WFP_PLUGIN_DIR/includes/l10n.php' (include_path='.:/usr/share/php') in wp-content/plugins/wing-forms/load.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wing-forms/modules/akismet.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wing-forms/modules/doi-helper.php:9
- > PHP Fatal error
Uncaught Error: Class 'WFP_SWV_Rule' not found in wp-content/plugins/wing-forms/includes/swv/rules/email.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wing-forms/admin/includes/config-validator.php:3
- > PHP Fatal error
Uncaught Error: Class 'WFP_SWV_Rule' not found in wp-content/plugins/wing-forms/includes/swv/rules/tel.php:3
- > PHP Fatal error
Uncaught Error: Class 'WFP_FormTag' not found in wp-content/plugins/wing-forms/includes/shortcodes.php:94
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wing-forms/modules/sendinblue/wing-form-properties.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wing-forms/admin/includes/class-wing-forms-list-table.php on line 4
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: wing, wing form, form, wing forms, forms...
wing-forms/wing-forms.php Passed 13 tests
The main PHP file in "Wing Forms Plugin for WordPress" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
55 characters long description:
Quick, easy, advance feature rich forms display plugin.
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 plugin17,146 lines of code in 103 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 4,280 | 2,080 | 14,439 |
CSS | 8 | 176 | 121 | 2,241 |
JavaScript | 8 | 123 | 4 | 466 |
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.38 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 52 | |
▷ Abstract classes | 4 | 7.69% |
▷ Concrete classes | 48 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 460 | |
▷ Static methods | 32 | 6.96% |
▷ Public methods | 358 | 77.83% |
▷ Protected methods | 47 | 10.22% |
▷ Private methods | 55 | 11.96% |
Functions | 316 | |
▷ Named functions | 284 | 89.87% |
▷ Anonymous functions | 32 | 10.13% |
Constants | 60 | |
▷ Global constants | 18 | 30.00% |
▷ Class constants | 42 | 70.00% |
▷ Public constants | 42 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png | 0.32KB | 0.16KB | ▼ 50.46% |
includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png | 0.38KB | 0.15KB | ▼ 61.54% |
includes/js/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
includes/js/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
includes/js/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |