Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲4.59MB] [CPU: ▼278.42ms] Passed 4 tests
Server-side resources used by WPMailer - The best mail builder, No More Core for your emails support Elementor, CF7 forms etc...
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.43 ▲4.92 | 73.82 ▲23.78 |
Dashboard /wp-admin | 8.45 ▲5.04 | 54.72 ▲21.41 |
Posts /wp-admin/edit.php | 8.45 ▲4.81 | 55.20 ▲17.37 |
Add New Post /wp-admin/post-new.php | 10.55 ▲3.57 | 108.88 ▼1,172.95 |
Media Library /wp-admin/upload.php | 8.45 ▲5.15 | 45.13 ▲20.48 |
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius | 8.45 | 42.80 |
Server storage [IO: ▲29.96MB] [DB: ▲0.01MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- Total filesystem usage should be limited to 25MB (currently using 29.96MB)
Filesystem: 228 new files
Database: 2 new tables, 4 new options
New tables |
---|
wpmailer_templates |
wpmailer_plugin_integrations_cf7 |
New WordPress options |
---|
fs_debug_mode |
fs_active_plugins |
fs_gdpr |
fs_accounts |
Browser metrics Passed 4 tests
A check of browser resources used by WPMailer - The best mail builder, No More Core for your emails support Elementor, CF7 forms etc...
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,980 ▲226 | 16.29 ▲0.71 | 8.93 ▲3.26 | 2.34 ▼0.07 |
Dashboard /wp-admin | 2,962 ▲111 | 6.23 ▲0.17 | 119.26 ▼28.17 | 189.09 ▲25.76 |
Posts /wp-admin/edit.php | 2,767 ▲73 | 3.27 ▲0.03 | 61.46 ▼0.22 | 157.26 ▲13.66 |
Add New Post /wp-admin/post-new.php | 1,665 ▲4 | 17.17 ▲1.57 | 453.14 ▲26.60 | 180.53 ▲26.16 |
Media Library /wp-admin/upload.php | 1,774 ▲73 | 5.73 ▲0.20 | 127.63 ▼15.11 | 220.05 ▲32.16 |
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius | 1,455 | 2.74 | 53.86 | 123.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wpmailer/libs/freemius-sdk/includes/class-freemius.php+8218
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 2 tables
- wpmailer_plugin_integrations_cf7
- wpmailer_templates
- The uninstall procedure has failed, leaving 4 options in the database
- fs_debug_mode
- fs_accounts
- fs_gdpr
- fs_active_plugins
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wpmailer/libs/freemius-sdk/templates/ajax-loader.php
- > /wp-content/plugins/wpmailer/public/partials/wpmailer-public-display.php
- > /wp-content/plugins/wpmailer/admin/partials/wpmailer-admin-display.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/partials/network-activation.php:6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/wpmailer/libs/freemius-sdk/templates/account/partials/addon.php on line 8
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-content/plugins/wpmailer/assets/wpmailer-icon.png - 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
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in wpmailer/assets to your readme.txt
wpmailer/wpmailer.php Passed 13 tests
The entry point to "WPMailer - The best mail builder, No More Core for your emails support Elementor, CF7 forms etc..." version 0.0.7 is a PHP file that has certain tags in its header comment area
85 characters long description:
The best mail builder, No More Core for your emails support Elementor, CF7 forms etc.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin45,794 lines of code in 161 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 118 | 7,270 | 16,444 | 30,208 |
PO File | 12 | 6,960 | 8,455 | 15,240 |
JavaScript | 10 | 45 | 135 | 252 |
JSON | 2 | 0 | 0 | 51 |
SVG | 3 | 1 | 1 | 25 |
CSS | 15 | 0 | 17 | 17 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,772)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 75.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,772.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 1,170 | |
▷ Static methods | 176 | 15.04% |
▷ Public methods | 820 | 70.09% |
▷ Protected methods | 15 | 1.28% |
▷ Private methods | 335 | 28.63% |
Functions | 98 | |
▷ Named functions | 98 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 122 | |
▷ Global constants | 97 | 79.51% |
▷ Class constants | 25 | 20.49% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.10MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/build/logo512.png | 9.44KB | 10.35KB | 0.00% |
admin/build/svgs/elementor-site-logo.png | 2.08KB | 2.17KB | 0.00% |
admin/build/logo192.png | 5.22KB | 5.57KB | 0.00% |
libs/freemius-sdk/assets/img/wpmailer.png | 9.16KB | 5.26KB | ▼ 42.58% |
libs/freemius-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |