Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲5.06MB] [CPU: ▲25.44ms] 75% from 4 tests
This is a short check of server-side resources used by Send Users Email
Please fix the following
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.06MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.93 ▲5.46 | 63.60 ▲24.78 |
Dashboard /wp-admin | 8.95 ▲5.60 | 75.91 ▲15.78 |
Posts /wp-admin/edit.php | 8.95 ▲5.59 | 81.79 ▲35.34 |
Add New Post /wp-admin/post-new.php | 9.47 ▲3.58 | 122.95 ▲31.25 |
Media Library /wp-admin/upload.php | 8.95 ▲5.72 | 66.53 ▲29.94 |
Email & Error Log /wp-admin/admin.php?page=send-users-email-error-logs | 8.95 | 56.62 |
PRO Features /wp-admin/admin.php?page=send-users-email-pro-features | 8.95 | 58.65 |
Dashboard /wp-admin/admin.php?page=send-users-email | 8.95 | 66.33 |
Email Roles /wp-admin/admin.php?page=send-users-email-roles | 8.95 | 65.88 |
Email Users /wp-admin/admin.php?page=send-users-email-users | 8.95 | 64.35 |
Settings /wp-admin/admin.php?page=send-users-email-settings | 8.95 | 58.54 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.95 | 58.05 |
Server storage [IO: ▲4.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 226 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
fs_debug_mode |
db_upgraded |
fs_active_plugins |
widget_theysaidso_widget |
fs_accounts |
Browser metrics Passed 4 tests
A check of browser resources used by Send Users Email
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲103 | 14.27 ▲0.15 | 1.62 ▼0.19 | 27.74 ▼17.05 |
Dashboard /wp-admin | 2,252 ▲74 | 5.65 ▼0.08 | 93.64 ▼22.60 | 41.25 ▼3.16 |
Posts /wp-admin/edit.php | 2,161 ▲61 | 2.02 ▲0.00 | 41.23 ▲3.01 | 36.61 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,565 ▲36 | 22.98 ▼0.19 | 616.30 ▼32.50 | 51.84 ▼0.52 |
Media Library /wp-admin/upload.php | 1,460 ▲57 | 4.22 ▲0.02 | 100.42 ▼0.39 | 42.85 ▲1.56 |
Email & Error Log /wp-admin/admin.php?page=send-users-email-error-logs | 877 | 2.14 | 33.31 | 50.27 |
PRO Features /wp-admin/admin.php?page=send-users-email-pro-features | 963 | 2.11 | 33.82 | 31.05 |
Dashboard /wp-admin/admin.php?page=send-users-email | 1,151 | 2.17 | 34.44 | 38.07 |
Email Roles /wp-admin/admin.php?page=send-users-email-roles | 1,788 | 7.09 | 142.04 | 60.91 |
Email Users /wp-admin/admin.php?page=send-users-email-users | 2,099 | 7.44 | 164.94 | 50.53 |
Settings /wp-admin/admin.php?page=send-users-email-settings | 1,318 | 2.20 | 29.32 | 29.52 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,128 | 1.66 | 26.06 | 29.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/send-users-email/vendor/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 9 options in the database
- fs_active_plugins
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- fs_accounts
- fs_debug_mode
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=freemius
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/admin/partials/templates/placeholder-instruction.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/partials/warnings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/admin/partials/users-email.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/partials/toast.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/send-users-email/admin/partials/email-template.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/admin/partials/email_and_error_log.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/admin/partials/admin-pro-features.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/admin/partials/settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/partials/donate.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/send-users-email/admin/partials/roles-email.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: email all users, email users, send email, email subscribers, email system users
send-users-email/send-users-email.php Passed 13 tests
The main file in "Send Users Email" v. 1.4.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
80 characters long description:
Easily send emails to your users. Select individual users or role to send email.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin37,064 lines of code in 164 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 141 | 8,417 | 17,672 | 36,367 |
JavaScript | 6 | 80 | 108 | 633 |
CSS | 16 | 12 | 23 | 48 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 79.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,320 | |
▷ Static methods | 205 | 15.53% |
▷ Public methods | 913 | 69.17% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 390 | 29.55% |
Functions | 120 | |
▷ Named functions | 120 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 149 | |
▷ Global constants | 102 | 68.46% |
▷ Class constants | 47 | 31.54% |
▷ Public constants | 47 | 100.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
14 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/twitter.png | 5.20KB | 1.85KB | ▼ 64.37% |
assets/linkedin.png | 4.58KB | 1.43KB | ▼ 68.88% |
assets/instagram.png | 11.52KB | 3.51KB | ▼ 69.56% |
assets/facebook.png | 4.49KB | 1.56KB | ▼ 65.33% |
assets/template.png | 40.74KB | 17.46KB | ▼ 57.13% |