Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.02ms] Passed 4 tests
Analyzing server-side resources used by Drip for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.90 ▼0.83 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.33 ▼14.75 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.35 ▼0.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 124.40 ▲15.79 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.44 ▼0.29 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Drip for Gravity Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.78 ▲0.57 | 1.72 ▲0.09 | 44.69 ▲4.86 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.95 | 111.73 ▲10.65 | 42.82 ▲3.23 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.02 | 39.47 ▼2.04 | 35.62 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,542 ▲2 | 18.27 ▲0.15 | 602.11 ▼7.84 | 53.75 ▼13.42 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▲0.01 | 97.29 ▼5.08 | 43.34 ▼1.41 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/drip-gravity-forms/includes/views/plugin-page.php:120
- > 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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: email marketing, drip, gravity forms, gravityforms, marketing automation...
drip-gravity-forms/drip-gravity-forms.php Passed 13 tests
The primary PHP file in "Drip for Gravity Forms" version 2.1.2 is used by WordPress to initiate all plugin functionality
38 characters long description:
Send Gravity Forms submissions to Drip
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
Everything looks great! No dangerous files found in this plugin1,273 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 736 | 869 | 1,273 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 6 | 8.33% |
▷ Public methods | 64 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 6 | 42.86% |
▷ Class constants | 8 | 57.14% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.26MB with 0.18MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/new-drip-choose-action.png | 78.57KB | 27.58KB | ▼ 64.90% |
images/new-drip-contextual-menu.png | 84.66KB | 24.93KB | ▼ 70.55% |
images/new-drip-map-fields.png | 105.94KB | 30.38KB | ▼ 71.32% |