Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.11ms] Passed 4 tests
Server-side resources used by Inspect Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.25 ▼4.84 |
Dashboard /wp-admin | 3.32 ▼0.03 | 52.14 ▼11.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.03 ▼4.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.01 ▼19.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.67 ▲0.38 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Inspect Gravity Forms: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.11 ▼0.24 | 2.15 ▲0.55 | 43.59 ▲2.02 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.05 | 84.63 ▼7.74 | 41.56 ▼3.79 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▼0.01 | 37.23 ▼2.23 | 34.28 ▼4.11 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.27 ▲0.33 | 690.01 ▲33.84 | 64.42 ▼4.11 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▲0.00 | 96.49 ▲0.50 | 43.49 ▼0.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
No browser issues were found
Optimizations
Plugin configuration Passed 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
3 plugin tags: gravity forms, gravityforms, gravity
inspect-gravityforms/inspect-gravityforms.php Passed 13 tests
The main PHP script in "Inspect Gravity Forms" version 1.3.0 is automatically included on every request by WordPress
67 characters long description:
Add-on to Gravity Forms that shows some form info in the forms list
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
Good job! No executable or dangerous file extensions detected194 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 63 | 95 | 165 |
Markdown | 2 | 11 | 0 | 23 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 14 | |
▷ Static methods | 4 | 28.57% |
▷ Public methods | 9 | 64.29% |
▷ Protected methods | 4 | 28.57% |
▷ Private methods | 1 | 7.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 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
No PNG images were found in this plugin