Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼309.65ms] Passed 4 tests
Server-side resources used by Add-on Gravity Forms - MailPoet 3
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 57.00 ▼18.76 |
Dashboard /wp-admin | 3.45 ▲0.04 | 36.39 ▼0.65 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 38.89 ▼0.04 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 104.28 ▼1,216.25 |
Media Library /wp-admin/upload.php | 3.33 ▲0.04 | 23.31 ▼2.92 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Add-on Gravity Forms - MailPoet 3
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲37 | 15.59 ▲0.23 | 5.85 ▼0.49 | 2.56 ▼0.43 |
Dashboard /wp-admin | 2,898 ▲37 | 6.12 ▼0.03 | 123.48 ▼26.48 | 207.11 ▲30.44 |
Posts /wp-admin/edit.php | 2,714 ▲26 | 3.23 ▲0.00 | 63.03 ▼1.78 | 140.46 ▲3.79 |
Add New Post /wp-admin/post-new.php | 1,673 ▼79 | 16.28 ▼5.64 | 422.20 ▼27.86 | 181.05 ▼2.21 |
Media Library /wp-admin/upload.php | 1,715 ▲18 | 5.61 ▲0.11 | 144.23 ▼15.05 | 226.03 ▼3.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'GF_Field' not found in wp-content/plugins/add-on-gravity-forms-mailpoet/mailpoet-fields.php:6
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/add-on-gravity-forms-mailpoet/class-gfnewmailpoetaddon.php:6
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (No screenshots yet.) image not found
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
add-on-gravity-forms-mailpoet/add-on-gravity-forms-mailpoet.php Passed 13 tests
The main PHP file in "Add-on Gravity Forms - MailPoet 3" ver. 1.1.14 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Add a MailPoet 3 signup field to your Gravity Forms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,157 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 287 | 206 | 826 |
PO File | 2 | 128 | 208 | 331 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 29 | |
▷ Static methods | 10 | 34.48% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
Constants | 1 | |
▷ Global constants | 1 | 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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |
images/stop.png | 0.68KB | 0.78KB | 0.00% |
images/tick.png | 0.52KB | 0.52KB | 0.00% |
images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/active1.png | 0.71KB | 0.63KB | ▼ 11.28% |