Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼145.38ms] Passed 4 tests
An overview of server-side resources used by Gravity Forms: Force SSL
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 35.93 ▲3.65 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.31 ▼2.20 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 43.72 ▼5.73 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 93.83 ▼566.74 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 32.62 ▼6.83 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Forms: Force SSL
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,712 ▲116 | 15.98 ▲0.10 | 10.79 ▲2.28 | 48.54 ▼7.49 |
Dashboard /wp-admin | 2,976 ▲45 | 5.93 ▼0.22 | 148.89 ▼27.14 | 106.61 ▼2.85 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.73 ▲0.02 | 67.97 ▼16.82 | 88.60 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,619 ▼64 | 21.57 ▲3.08 | 307.92 ▼78.11 | 105.13 ▼11.68 |
Media Library /wp-admin/upload.php | 1,815 ▲67 | 5.07 ▲0.08 | 159.61 ▼1.45 | 112.89 ▼6.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gravity-forms-force-ssl/gravityforms-force-ssl.php
- > /wp-content/plugins/gravity-forms-force-ssl/form-settings.php
- > /wp-content/plugins/gravity-forms-force-ssl/global-settings.php
- > /wp-content/plugins/gravity-forms-force-ssl/plugin-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: A description for screenshot #0 is missing in gravity-forms-force-ssl/assets to your readme.txt
- Requires at least: The plugin version is formatted incorrectly
- Screenshots: Screenshot #1 (Enable SSL on form settings) image required
gravity-forms-force-ssl/gravityforms-force-ssl.php 85% from 13 tests
The principal PHP file in "Gravity Forms: Force SSL" v. 1.4.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gravity-forms-force-ssl.php" instead of "gravityforms-force-ssl.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Success! There were no dangerous files found in this plugin149 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 41 | 48 | 149 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 11 | |
▷ Static methods | 3 | 27.27% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 73.44KB | 27.89KB | ▼ 62.02% |