Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.73ms] Passed 4 tests
An overview of server-side resources used by Bounce Handler MailPoet 3
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.84 ▼1.11 |
Dashboard /wp-admin | 3.32 ▼0.03 | 49.48 ▼12.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.30 ▲4.51 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.99 ▼18.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.46 ▲1.41 |
Server storage [IO: ▲3.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 52 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_bounced_email_logs |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bounce Handler MailPoet 3
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.07 ▼0.28 | 1.73 ▼0.28 | 43.48 ▼0.77 |
Dashboard /wp-admin | 2,204 ▲27 | 5.68 ▲0.05 | 93.46 ▲5.99 | 42.45 ▲1.38 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.02 ▲0.03 | 36.83 ▲0.89 | 32.79 ▼5.15 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.22 ▲0.05 | 676.16 ▼5.43 | 54.32 ▼0.34 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.23 ▲0.03 | 104.28 ▲5.26 | 47.17 ▼1.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_bounced_email_logs
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bounce-handler-mailpoet/includes/class-mailpoet-handle-bounces.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bounce-handler-mailpoet/includes/class-mailpoet-bounce-handler-legacy.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bounce-handler-mailpoet/includes/personal-data-exporter.php:13
- > PHP Fatal error
Uncaught Error: Class 'PEAR' not found in wp-content/plugins/bounce-handler-mailpoet/includes/pear/socket.php:46
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/bounce-handler-mailpoet/includes/class-mailpoet-bounce-log.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bounce-handler-mailpoet/includes/class-mailpoet-bounce-handler.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bounce-handler-mailpoet/includes/scheduler.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bounce-handler-mailpoet/includes/rules.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: bounce handler, newsletter, emailing, mail, bounce email...
bounce-handler-mailpoet/bounce-handler-mailpoet.php Passed 13 tests
This is the main PHP file of "Bounce Handler MailPoet 3" version 1.3.21, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
116 characters long description:
Bounce Handler Mailpoet is an add-on for MailPoet 3 to handle bounce emails easily, when using your own SMTP server.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected75,988 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 13,060 | 13,041 | 68,395 |
PHP | 18 | 1,029 | 1,670 | 4,572 |
CSS | 5 | 155 | 65 | 2,728 |
PO File | 1 | 140 | 276 | 293 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 50.27 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 181 | |
▷ Static methods | 31 | 17.13% |
▷ Public methods | 173 | 95.58% |
▷ Protected methods | 5 | 2.76% |
▷ Private methods | 3 | 1.66% |
Functions | 16 | |
▷ Named functions | 13 | 81.25% |
▷ Anonymous functions | 3 | 18.75% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/img/modal_close_button.png | 0.49KB | 0.42KB | ▼ 14.62% |
assets/screenshot-1.png | 58.15KB | 26.71KB | ▼ 54.07% |
assets/images/modal_close_button.png | 0.49KB | 0.42KB | ▼ 14.62% |
assets/img/sort_both.png | 0.20KB | 0.29KB | 0.00% |