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.00MB] [CPU: ▼141.49ms] Passed 4 tests
An overview of server-side resources used by Reject Urls And Emails In Textarea For (Gravity Forms)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 42.03 ▲17.98 |
Dashboard /wp-admin | 3.06 ▲0.01 | 46.34 ▼0.31 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.29 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 93.95 ▼559.60 |
Media Library /wp-admin/upload.php | 3.01 ▼0.00 | 33.98 ▼5.31 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Reject Urls And Emails In Textarea For (Gravity Forms)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.87 ▼0.22 | 11.17 ▲1.11 | 49.39 ▲0.59 |
Dashboard /wp-admin | 2,973 ▲42 | 5.87 ▼0.12 | 142.34 ▼7.98 | 104.90 ▼5.11 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.73 ▲0.01 | 72.72 ▲4.14 | 88.50 ▲8.16 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.74 ▲0.10 | 375.81 ▲1.72 | 104.61 ▼0.15 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▼0.03 | 151.66 ▼6.74 | 113.79 ▼14.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
5 plugin tags: email detection, gravity forms, validation, url detection, gravity
reject-urls-and-emails-in-textarea/reject-urls-and-emails-in-textarea.php Passed 13 tests
The main PHP script in "Reject Urls And Emails In Textarea For (Gravity Forms)" version 1.1 is automatically included on every request by WordPress
40 characters long description:
Prevent URLS & Emails in textarea field.
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
There were no executable files found in this plugin35 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 20 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin