Benchmarks
Plugin footprint 83% from 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.00MB] [CPU: ▼6.68ms] 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.46 ▲0.00 | 33.82 ▼3.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.57 ▼1.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.47 ▼4.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.52 ▼13.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.09 ▼4.92 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Add-on Gravity Forms - MailPoet 3: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.25 ▼1.13 | 1.73 ▼0.05 | 38.04 ▼1.40 |
Dashboard /wp-admin | 2,218 ▲30 | 5.84 ▼0.02 | 98.91 ▼3.79 | 40.76 ▼0.60 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▲0.01 | 33.09 ▼0.79 | 33.54 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,551 ▲15 | 23.01 ▲0.00 | 662.14 ▲2.00 | 55.69 ▼2.89 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.25 ▲0.06 | 97.43 ▼6.76 | 41.59 ▼3.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > 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
Uncaught Error: Class 'GF_Field' not found in wp-content/plugins/add-on-gravity-forms-mailpoet/mailpoet-fields.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
- Screenshots: Screenshot #1 (No screenshots yet.) image not found
add-on-gravity-forms-mailpoet/add-on-gravity-forms-mailpoet.php Passed 13 tests
The entry point to "Add-on Gravity Forms - MailPoet 3" version 1.1.14 is a PHP file that has certain tags in its header comment area
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 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous 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
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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/stop.png | 0.68KB | 0.78KB | 0.00% |
images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |
images/add.png | 3.37KB | 0.66KB | ▼ 80.54% |
images/tick.png | 0.52KB | 0.52KB | 0.00% |