Benchmarks
Plugin footprint 65% 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.38MB] [CPU: ▲6.73ms] Passed 4 tests
Server-side resources used by Mail Bank - #1 Mail SMTP Plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 44.24 ▲1.88 |
Dashboard /wp-admin | 3.72 ▲0.42 | 67.93 ▲17.27 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 67.27 ▲16.13 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 107.74 ▼2.97 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 48.25 ▲11.89 |
Send Test Email /wp-admin/admin.php?page=mb_test_email | 3.71 | 42.88 |
Setup Wizard /wp-admin/admin.php?page=mb_email_configuration | 3.71 | 52.37 |
Email Reports ( Pro ) /wp-admin/admin.php?page=mb_email_logs | 3.71 | 39.04 |
Notifications ( Pro ) /wp-admin/admin.php?page=mb_notifications | 3.71 | 48.26 |
System Information /wp-admin/admin.php?page=mb_system_information | 3.71 | 42.59 |
Connectivity Test /wp-admin/admin.php?page=mb_connectivity_test | 3.71 | 43.09 |
/wp-admin/admin.php?page=wp_mail_bank_wizard | 3.71 | 40.61 |
General Settings /wp-admin/admin.php?page=mb_settings | 3.71 | 44.21 |
Roles & Capabilities /wp-admin/admin.php?page=mb_roles_and_capabilities | 3.71 | 41.64 |
Upgrade Now /wp-admin/admin.php?page=mb_upgrade_now | 3.71 | 43.80 |
Server storage [IO: ▲2.23MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 146 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_mail_bank |
wp_mail_bank_meta |
wp_mail_bank_logs |
New WordPress options |
---|
mail_bank_update_database |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
mail-bank-version-number |
mb_admin_notice |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Mail Bank - #1 Mail SMTP Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,038 ▲277 | 14.26 ▼0.03 | 1.65 ▼0.02 | 44.65 ▼1.08 |
Dashboard /wp-admin | 2,429 ▲252 | 5.64 ▼0.03 | 89.07 ▼6.00 | 84.80 ▲48.00 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.07 ▲0.08 | 36.27 ▲0.03 | 33.52 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,696 ▲170 | 22.22 ▼0.87 | 749.06 ▲66.09 | 51.99 ▼10.49 |
Media Library /wp-admin/upload.php | 1,413 ▲19 | 4.28 ▲0.12 | 102.10 ▼0.01 | 61.37 ▲19.80 |
Send Test Email /wp-admin/admin.php?page=mb_test_email | 1,096 | 2.76 | 39.00 | 32.41 |
Setup Wizard /wp-admin/admin.php?page=mb_email_configuration | 1,094 | 2.75 | 43.91 | 35.67 |
Email Reports ( Pro ) /wp-admin/admin.php?page=mb_email_logs | 1,088 | 2.70 | 33.40 | 32.29 |
Notifications ( Pro ) /wp-admin/admin.php?page=mb_notifications | 1,091 | 2.74 | 33.07 | 30.74 |
System Information /wp-admin/admin.php?page=mb_system_information | 1,091 | 2.73 | 30.18 | 32.67 |
Connectivity Test /wp-admin/admin.php?page=mb_connectivity_test | 1,091 | 2.71 | 36.34 | 30.89 |
/wp-admin/admin.php?page=wp_mail_bank_wizard | 1,092 | 2.72 | 29.97 | 27.64 |
General Settings /wp-admin/admin.php?page=mb_settings | 1,091 | 2.73 | 34.36 | 30.27 |
Roles & Capabilities /wp-admin/admin.php?page=mb_roles_and_capabilities | 1,094 | 2.73 | 32.81 | 30.91 |
Upgrade Now /wp-admin/admin.php?page=mb_upgrade_now | 1,091 | 2.73 | 32.65 | 30.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_mail_bank_logs
- wp_mail_bank_meta
- wp_mail_bank
- The uninstall procedure has failed, leaving 9 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- mb_admin_notice
- mail_bank_update_database
- widget_theysaidso_widget
- mail-bank-version-number
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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/wp-mail-bank/lib/dashboard-widget.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-mail-bank/includes/dashboard.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-mail-bank/includes/sidebar.php:15
- > 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 issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
wp-mail-bank/wp-mail-bank.php Passed 13 tests
The principal PHP file in "Mail Bank - #1 Mail SMTP Plugin for WordPress" v. 4.0.14 is loaded by WordPress automatically on each request
136 characters long description:
Mail Bank is a WordPress smtp plugin that solves email deliverability issue. Configures Gmail Smtp Settings, OAuth, and any SMTP server.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin36,746 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 83 | 1,001 | 6,452 | 20,219 |
JavaScript | 8 | 2,202 | 7,334 | 8,546 |
CSS | 13 | 61 | 110 | 7,908 |
SVG | 2 | 3 | 0 | 73 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 3 | 5.17% |
▷ Concrete classes | 55 | 94.83% |
▷ Final classes | 0 | 0.00% |
Methods | 454 | |
▷ Static methods | 69 | 15.20% |
▷ Public methods | 403 | 88.77% |
▷ Protected methods | 44 | 9.69% |
▷ Private methods | 7 | 1.54% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 66 | |
▷ Global constants | 15 | 22.73% |
▷ Class constants | 51 | 77.27% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
33 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.34KB | 0.16KB | ▼ 54.02% |
assets/global/img/portlet-expand-icon-white.png | 0.23KB | 0.25KB | 0.00% |
assets/admin/images/ui-bg_flat_10_000000_40x100.png | 0.20KB | 0.08KB | ▼ 57.56% |
assets/global/plugins/datatables/media/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/admin/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |