Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.82MB] [CPU: ▲11.35ms] Passed 4 tests
Analyzing server-side resources used by Ultimate WP Mail
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.21 ▲1.75 | 55.87 ▲13.81 |
Dashboard /wp-admin | 5.14 ▲1.84 | 61.14 ▲8.54 |
Posts /wp-admin/edit.php | 5.18 ▲1.82 | 68.87 ▲16.98 |
Add New Post /wp-admin/post-new.php | 7.95 ▲2.06 | 106.20 ▲6.05 |
Media Library /wp-admin/upload.php | 5.08 ▲1.85 | 56.63 ▲22.03 |
Dashboard /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-dashboard | 5.00 | 51.18 |
Lists /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-email-lists | 4.99 | 48.58 |
All Emails /wp-admin/edit.php?post_type=uwpm_mail_template | 5.10 | 53.43 |
All Email Logs /wp-admin/edit.php?post_type=uwpm_email_log | 5.10 | 53.26 |
Add New /wp-admin/post-new.php?post_type=uwpm_mail_template | 5.22 | 59.37 |
User Stat Details /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-user-stat-details | 4.99 | 60.73 |
User Stats /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-user-stats | 5.17 | 48.53 |
Ultimate WP Mail - Welcome! /wp-admin/index.php?page=ewd-uwpm-getting-started | 4.98 | 48.44 |
Email Categories /wp-admin/edit-tags.php?taxonomy=uwpm-category&post_type=uwpm_mail_template | 5.05 | 68.58 |
Settings /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-settings | 5.10 | 47.53 |
Server storage [IO: ▲3.79MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 219 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_ewd_uwpm_email_only_users |
wp_ewd_uwpm_email_open_events |
wp_ewd_uwpm_email_send_events |
wp_ewd_uwpm_email_links_clicked_events |
New WordPress options |
---|
can_compress_scripts |
EWD_UWPM_Scheduled_Emails |
widget_theysaidso_widget |
widget_recent-comments |
widget_ewd_uwpm_interests_widget |
ewd-uwpm-permission-level |
theysaidso_admin_options |
widget_recent-posts |
ewd-uwpm-installation-time |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate WP Mail
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲90 | 14.67 ▲0.39 | 1.70 ▼0.24 | 39.32 ▼7.52 |
Dashboard /wp-admin | 2,248 ▲68 | 5.53 ▼0.09 | 88.60 ▼8.46 | 41.72 ▲1.61 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 1.96 ▼0.02 | 39.58 ▼1.79 | 35.11 ▼1.72 |
Add New Post /wp-admin/post-new.php | 6,409 ▲4,884 | 27.53 ▲3.89 | 879.80 ▲263.29 | 35.93 ▼10.65 |
Media Library /wp-admin/upload.php | 1,453 ▲56 | 4.17 ▼0.08 | 98.92 ▼6.76 | 43.63 ▲1.06 |
Dashboard /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-dashboard | 1,221 | 2.07 | 33.10 | 71.17 |
Lists /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-email-lists | 1,056 | 2.20 | 32.61 | 37.02 |
All Emails /wp-admin/edit.php?post_type=uwpm_mail_template | 1,201 | 2.33 | 40.91 | 35.44 |
All Email Logs /wp-admin/edit.php?post_type=uwpm_email_log | 1,250 | 2.34 | 37.74 | 36.42 |
Add New /wp-admin/post-new.php?post_type=uwpm_mail_template | 3,049 | 8.02 | 176.58 | 128.57 |
User Stat Details /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-user-stat-details | 970 | 2.10 | 30.10 | 32.98 |
User Stats /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-user-stats | 1,270 | 2.13 | 30.48 | 32.77 |
Ultimate WP Mail - Welcome! /wp-admin/index.php?page=ewd-uwpm-getting-started | 1,413 | 9.13 | 274.89 | 73.84 |
Email Categories /wp-admin/edit-tags.php?taxonomy=uwpm-category&post_type=uwpm_mail_template | 1,321 | 2.20 | 35.93 | 29.22 |
Settings /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-settings | 1,438 | 3.70 | 55.80 | 34.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_ewd_uwpm_email_only_users
- wp_ewd_uwpm_email_open_events
- wp_ewd_uwpm_email_links_clicked_events
- wp_ewd_uwpm_email_send_events
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-comments
- ewd-uwpm-permission-level
- widget_recent-posts
- can_compress_scripts
- EWD_UWPM_Scheduled_Emails
- ewd-uwpm-installation-time
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_ewd_uwpm_interests_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=uwpm_mail_template
- > Notice in wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php+176
Trying to get property 'term_id' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=uwpm_mail_template
- > Notice in wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-send-mail.php+176
Trying to get property 'name' of non-object
- > GET request to /wp-admin/edit.php?post_type=uwpm_mail_template&page=ewd-uwpm-user-stats
- > Notice in wp-content/plugins/ultimate-wp-mail/includes/WP_List_Table.UserStatsTable.class.php+629
Trying to access array offset on value of type null
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 fix the following items
- 53× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_17' not found in wp-content/plugins/ultimate-wp-mail/lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php:18
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_17' not found in wp-content/plugins/ultimate-wp-mail/lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php:13
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_17' not found in wp-content/plugins/ultimate-wp-mail/lib/simple-admin-pages/classes/AdminPageSetting.Editor.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-wp-mail/includes/Widgets.class.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/subscription-interest-woocommerce-categories.php:4
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_17' not found in wp-content/plugins/ultimate-wp-mail/lib/simple-admin-pages/classes/AdminPageSetting.Ordering.class.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function ewd_format_classes() in wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/subscription-interests.php:1
- > PHP Warning
require_once(EWD_UWPM_PLUGIN_DIR/views/View.class.php): failed to open stream: No such file or directory in wp-content/plugins/ultimate-wp-mail/views/Base.class.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-email-preview.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ultimate-wp-mail/ewd-uwpm-templates/admin-email-builder.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/index.php?page=ewd-uwpm-getting-started
- > Network (severe)
wp-content/plugins/ultimate-wp-mail/assets/css/admin.css?ver=1.2.4 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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: There are too many tags (13 tag instead of maximum 10)
ultimate-wp-mail/ultimate-wp-mail.php 92% from 13 tests
The primary PHP file in "Ultimate WP Mail" version 1.2.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
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
Good job! No executable or dangerous file extensions detected16,824 lines of code in 175 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 84 | 3,503 | 3,280 | 8,962 |
CSS | 19 | 262 | 172 | 3,810 |
JavaScript | 69 | 859 | 378 | 3,716 |
Markdown | 3 | 126 | 0 | 336 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 20.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 278.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 3 | 4.48% |
▷ Concrete classes | 64 | 95.52% |
▷ Final classes | 0 | 0.00% |
Methods | 447 | |
▷ Static methods | 3 | 0.67% |
▷ Public methods | 402 | 89.93% |
▷ Protected methods | 30 | 6.71% |
▷ Private methods | 15 | 3.36% |
Functions | 28 | |
▷ Named functions | 24 | 85.71% |
▷ Anonymous functions | 4 | 14.29% |
Constants | 12 | |
▷ Global constants | 10 | 83.33% |
▷ Class constants | 2 | 16.67% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
39 PNG files occupy 2.83MB with 1.76MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/Icon_WP_Grey.png | 36.76KB | 12.11KB | ▼ 67.05% |
assets/img/ewd-support-icon-youtube.png | 1.75KB | 0.66KB | ▼ 62.56% |
assets/img/options-asset-info.png | 0.84KB | 0.42KB | ▼ 49.53% |
assets/img/Logo_Image.png | 7.18KB | 2.89KB | ▼ 59.68% |
assets/img/templates/Newsletter.png | 309.07KB | 89.37KB | ▼ 71.09% |