Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.75ms] Passed 4 tests
Server-side resources used by SMTP Settings for Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.00 | 39.97 ▼2.02 |
Dashboard /wp-admin | 3.35 ▼0.04 | 48.52 ▼21.01 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 50.74 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 99.45 ▼9.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 39.16 ▲1.89 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by SMTP Settings for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.24 ▼0.31 | 1.80 ▲0.23 | 39.90 ▲1.32 |
Dashboard /wp-admin | 2,195 ▲15 | 5.64 ▼0.04 | 92.90 ▼2.71 | 39.97 ▼3.59 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.07 | 39.13 ▲5.35 | 34.66 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.19 ▲0.03 | 658.80 ▼6.03 | 53.70 ▲3.71 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.13 ▼0.06 | 102.29 ▲4.47 | 44.53 ▲2.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 11× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/smtp-settings-for-gravity-forms/smtp-settings-gravity-forms.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/index.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/work/inc/kp-gfsmtp.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/assets/js/index.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/work/inc/kp-gfsmtp-extend-common.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/work/inc/kp-gfsmtp-settings.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/work/common.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/work/inc/index.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/assets/index.php
- > /wp-content/plugins/smtp-settings-for-gravity-forms/work/inc/kp-gfsmtp-send-override.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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 smtp, gravity forms, smtp
smtp-settings-for-gravity-forms/smtp-settings-gravity-forms.php 77% from 13 tests
"SMTP Settings for Gravity Forms" version 0.11.70's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("smtp-settings-for-gravity-forms.php" instead of "smtp-settings-gravity-forms.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin621 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 317 | 461 | 575 |
JavaScript | 2 | 24 | 16 | 46 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.75 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 7.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 4 | 40.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 12 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin