Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼139.83ms] Passed 4 tests
A check of server-side resources used by Auto Mailchimp Popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.22 | 37.23 ▲12.46 |
Dashboard /wp-admin | 3.26 ▲0.21 | 51.67 ▲9.66 |
Posts /wp-admin/edit.php | 3.31 ▲0.21 | 43.24 ▼1.36 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.11 | 95.22 ▼562.58 |
Media Library /wp-admin/upload.php | 3.12 ▲0.11 | 32.64 ▼5.03 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
bs_mail_popup_basic |
Browser metrics Passed 4 tests
An overview of browser requirements for Auto Mailchimp Popup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,142 ▲546 | 18.46 ▲2.62 | 16.94 ▲8.61 | 43.99 ▼8.78 |
Dashboard /wp-admin | 3,211 ▲277 | 8.26 ▲2.33 | 163.72 ▲17.26 | 114.95 ▲8.76 |
Posts /wp-admin/edit.php | 3,006 ▲267 | 4.39 ▲1.70 | 87.10 ▲20.50 | 93.51 ▲5.21 |
Add New Post /wp-admin/post-new.php | 1,700 ▲28 | 18.96 ▲0.22 | 366.84 ▲16.18 | 108.63 ▼3.22 |
Media Library /wp-admin/upload.php | 1,849 ▲39 | 4.90 ▼0.11 | 114.06 ▼36.17 | 122.14 ▼2.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- bs_mail_popup_basic
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-mailchimp-popup/shortcode.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-mailchimp-popup/shortcode.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is required in auto-mailchimp-popup/assets to your readme.txt
- Contributors: Plugin contributors not specified
auto-mailchimp-popup/auto-mailchimp-popup.php Passed 13 tests
The primary PHP file in "Auto Mailchimp Popup" version 1.0 is used by WordPress to initiate all plugin functionality
67 characters long description:
Auto Mailchimp Popup is Mailchimp based Popup Plugin for Wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,391 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 165 | 224 | 585 |
JavaScript | 3 | 142 | 199 | 473 |
CSS | 2 | 135 | 46 | 333 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 45 | |
▷ Static methods | 1 | 2.22% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/cuponbox.png | 11.79KB | 6.05KB | ▼ 48.66% |