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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.31ms] Passed 4 tests
An overview of server-side resources used by Wider Gravity Forms Stop Entries
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.13 ▲4.05 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.01 ▼10.84 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.08 ▲4.96 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.57 ▼15.12 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.90 ▲0.66 |
Gravity Forms Stop Entries /wp-admin/options-general.php?page=wider-gf-stop-entries | 3.23 | 29.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Wider Gravity Forms Stop Entries
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.11 | 1.78 ▲0.22 | 43.53 ▲2.89 |
Dashboard /wp-admin | 2,199 ▲19 | 5.54 ▼0.05 | 84.70 ▼8.13 | 38.62 ▼0.90 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.00 | 40.46 ▲3.93 | 36.86 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.41 ▲0.36 | 687.97 ▲3.89 | 55.22 ▲3.93 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.01 | 102.68 ▼1.02 | 45.01 ▲2.82 |
Gravity Forms Stop Entries /wp-admin/options-general.php?page=wider-gf-stop-entries | 771 | 1.99 | 23.73 | 26.17 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wider-gravity-forms-stop-entries/wider-gravity-forms-stop-entries.php:278
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: gravity forms, gdpr, privacy
wider-gravity-forms-stop-entries/wider-gravity-forms-stop-entries.php 85% from 13 tests
The primary PHP file in "Wider Gravity Forms Stop Entries" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 296 characters long)
- Text Domain: The text domain should only use lowercase characters and dashes
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
No dangerous file extensions were detected137 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 79 | 63 | 137 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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