Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼1.15ms] Passed 4 tests
An overview of server-side resources used by Mailer Dragon - Email Marketing Plugin for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 46.45 ▲4.39 |
Dashboard /wp-admin | 3.80 ▲0.49 | 52.05 ▲3.58 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 50.66 ▲0.21 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.43 | 87.51 ▼9.20 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 38.65 ▲0.83 |
All Emails /wp-admin/edit.php?post_type=ic_mailer | 3.75 | 39.61 |
Add New /wp-admin/post-new.php?post_type=ic_mailer | 3.85 | 63.83 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ic_mailer_settings |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
ic_mailer_dragon_install |
widget_ic_mailer_subscription |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Mailer Dragon - Email Marketing Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲69 | 13.56 ▼0.82 | 2.08 ▼0.32 | 45.45 ▼3.12 |
Dashboard /wp-admin | 2,256 ▲50 | 4.84 ▼0.97 | 104.24 ▼0.33 | 39.18 ▼2.51 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.01 ▼0.01 | 39.39 ▼1.88 | 36.44 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,556 ▲11 | 23.46 ▲0.42 | 672.43 ▲49.14 | 54.77 ▼9.61 |
Media Library /wp-admin/upload.php | 1,435 ▲32 | 4.24 ▲0.03 | 102.67 ▲0.12 | 44.76 ▼1.10 |
All Emails /wp-admin/edit.php?post_type=ic_mailer | 1,115 | 2.08 | 42.51 | 27.57 |
Settings /wp-admin/mailer-settings.php | 26 | 0.44 | 0.10 | 15.07 |
Add New /wp-admin/post-new.php?post_type=ic_mailer | 2,360 | 7.92 | 189.36 | 69.31 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- widget_ic_mailer_subscription
- widget_recent-comments
- ic_mailer_dragon_install
- widget_recent-posts
- widget_theysaidso_widget
- ic_mailer_settings
- db_upgraded
- can_compress_scripts
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
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/mailer-settings.php
- > Network (severe)
wp-admin/mailer-settings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
mailer-dragon/mailer-dragon.php Passed 13 tests
The principal PHP file in "Mailer Dragon - Email Marketing Plugin for WordPress" v. 1.1.2 is loaded by WordPress automatically on each request
54 characters long description:
Create newsletters and contact your visitors directly.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,178 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 314 | 603 | 2,079 |
CSS | 3 | 11 | 14 | 54 |
JavaScript | 2 | 5 | 6 | 45 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 73 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 73 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 90 | |
▷ Named functions | 90 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ext/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
css/images/warning.png | 1.64KB | 1.48KB | ▼ 9.80% |
css/images/doc.png | 4.91KB | 1.64KB | ▼ 66.49% |
css/images/info.png | 2.21KB | 1.70KB | ▼ 22.85% |
ext/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |