Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼140.70ms] Passed 4 tests
This is a short check of server-side resources used by Gravity Forms Prevent Duplicates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 38.75 ▲9.59 |
Dashboard /wp-admin | 3.09 ▲0.04 | 56.74 ▲10.37 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 54.71 ▲11.66 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 100.07 ▼593.32 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 40.81 ▲10.56 |
GFPD /wp-admin/options-general.php?page=gfpd_settings | 3.00 | 26.76 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Forms Prevent Duplicates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,818 ▲246 | 16.30 ▲1.10 | 13.57 ▲2.33 | 53.75 ▼1.53 |
Dashboard /wp-admin | 2,972 ▲41 | 5.94 ▼0.04 | 160.40 ▲5.56 | 121.65 ▼8.66 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.68 ▼0.01 | 91.10 ▼15.56 | 108.75 ▼27.88 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.53 ▲1.70 | 442.44 ▲9.47 | 133.40 ▲9.24 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 4.99 ▼0.02 | 183.83 ▲24.89 | 145.85 ▲15.16 |
GFPD /wp-admin/options-general.php?page=gfpd_settings | 1,037 | 2.08 | 58.68 | 68.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: forms, duplicates, triple, double, prevent...
gf-prevent-duplicates/gf-prevent-duplicates.php Passed 13 tests
The primary PHP file in "Gravity Forms Prevent Duplicates" version 1.2.1 is used by WordPress to initiate all plugin functionality
60 characters long description:
Prevent duplicate submissions for all GF forms on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected243 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 30 | 16 | 187 |
JavaScript | 1 | 13 | 4 | 56 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin