Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼313.64ms] Passed 4 tests
A check of server-side resources used by Better Redirects for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.15 | 39.23 ▲19.28 |
Dashboard /wp-admin | 3.09 ▲0.04 | 41.21 ▼6.45 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 35.64 ▼8.09 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 92.96 ▼1,230.18 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 27.62 ▼9.84 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Better Redirects for Gravity Forms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,650 ▲68 | 16.21 ▲0.70 | 7.57 ▼0.35 | 44.38 ▼1.26 |
Dashboard /wp-admin | 2,953 ▲103 | 5.95 ▲0.12 | 134.77 ▲3.89 | 102.40 ▲1.93 |
Posts /wp-admin/edit.php | 2,703 ▼0 | 2.69 ▲0.00 | 67.26 ▲4.95 | 91.01 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,851 ▼6 | 17.51 ▼1.59 | 356.71 ▼20.87 | 113.06 ▼0.13 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 4.99 ▼0.02 | 161.96 ▲19.09 | 113.78 ▼5.06 |
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 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/better-redirects-for-gravity-forms/better-redirects-for-gravity-forms.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 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: gf, seo, 404, forms, gravity...
better-redirects-for-gravity-forms/better-redirects-for-gravity-forms.php 85% from 13 tests
The primary PHP file in "Better Redirects for Gravity Forms" version 1.2.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 164 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
Everything looks great! No dangerous files found in this plugin287 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 109 | 191 |
JavaScript | 1 | 23 | 10 | 83 |
CSS | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview 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.27 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin