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.00MB] [CPU: ▼11.20ms] Passed 4 tests
Server-side resources used by Free SMS OTP Verification for Gravity Forms By Firebase
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.20 ▼5.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.02 ▼3.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.72 ▼7.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.30 ▼28.28 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.98 ▼1.16 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Free SMS OTP Verification for Gravity Forms By Firebase
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.20 | 1.73 ▼0.10 | 39.73 ▼3.95 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.98 | 109.46 ▲7.98 | 38.47 ▼8.39 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 40.08 ▼5.04 | 33.98 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,514 ▼20 | 17.69 ▼5.81 | 672.58 ▲73.26 | 58.93 ▲2.71 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.33 ▲0.13 | 95.73 ▼4.07 | 40.37 ▼2.35 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/free-sms-verification-for-gravity-forms/index.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/free-sms-verification-for-gravity-forms/app/partials/class-gf-sms-addon.php:10
- > PHP Warning
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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: gravity forms firebase, graivty forms otp, gravity forms verification, form sms otp, gravity forms sms
free-sms-verification-for-gravity-forms/gf-free-sms-verification.php 77% from 13 tests
The primary PHP file in "Free SMS OTP Verification for Gravity Forms By Firebase" version 1.0.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 197 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("free-sms-verification-for-gravity-forms.php" instead of "gf-free-sms-verification.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected942 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 120 | 254 | 436 |
JSON | 2 | 0 | 0 | 288 |
JavaScript | 5 | 14 | 6 | 89 |
CSS | 3 | 8 | 4 | 87 |
PO File | 1 | 11 | 11 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin