Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.45ms] Passed 4 tests
Server-side resources used by UI Elements for Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 51.38 ▲14.57 |
Dashboard /wp-admin | 3.33 ▲0.02 | 56.89 ▲9.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.08 ▼7.49 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.43 ▼20.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.67 ▲1.47 |
Server storage [IO: ▲0.93MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
UI Elements for Gravity Forms: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.74 ▲0.35 | 2.14 ▲0.45 | 44.01 ▲2.37 |
Dashboard /wp-admin | 2,216 ▲39 | 5.82 ▲0.17 | 96.23 ▲8.14 | 43.18 ▲0.95 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.28 ▲0.25 | 37.23 ▼3.46 | 31.09 ▼4.35 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.37 ▲0.31 | 618.37 ▲22.64 | 33.61 ▼19.66 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.46 ▲0.26 | 105.19 ▲5.17 | 45.70 ▼1.50 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: gravity, plugin, wordpress, forms, gravity-forms
ui-elements-gravity-forms/ui-elements.php 77% from 13 tests
"UI Elements for Gravity Forms" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ui-elements-gravity-forms.php" instead of "ui-elements.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 300 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,005 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 52 | 8 | 658 |
PHP | 4 | 48 | 78 | 275 |
JavaScript | 2 | 1 | 13 | 52 |
JSON | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin