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.02MB] [CPU: ▼7.24ms] Passed 4 tests
Server-side resources used by Relay Sender - Petals Exchange for Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.83 ▲0.75 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.31 ▼1.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.10 ▼7.19 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.77 ▼19.48 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.84 ▼0.81 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Relay Sender - Petals Exchange for Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.23 | 1.93 ▲0.35 | 51.61 ▲9.74 |
Dashboard /wp-admin | 2,192 ▲12 | 5.53 ▼0.13 | 80.93 ▼5.49 | 37.70 ▼9.11 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.05 | 33.00 ▼8.72 | 34.50 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.27 ▲0.02 | 652.41 ▼6.56 | 76.84 ▲20.43 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.22 ▲0.02 | 98.21 ▼5.47 | 42.15 ▼6.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/relay-sender-petals-exchange-for-gravity-forms/incl/localisation.php
- > /wp-content/plugins/relay-sender-petals-exchange-for-gravity-forms/incl/core.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/relay-sender-petals-exchange-for-gravity-forms/relay-sender-petals-exchange-for-gravity-forms.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: florist, gravity forms, integrate, gravity, petals...
relay-sender-petals-exchange-for-gravity-forms/relay-sender-petals-exchange-for-gravity-forms.php Passed 13 tests
The entry point to "Relay Sender - Petals Exchange for Gravity Forms" version 1.0.0 is a PHP file that has certain tags in its header comment area
49 characters long description:
Integrates the Petals Exchange with Gravity Forms
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
Everything looks great! No dangerous files found in this plugin460 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 28 | 460 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 73 | |
▷ Global constants | 73 | 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
PNG images were not found in this plugin