Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.23ms] Passed 4 tests
Server-side resources used by WP Mail Debugger
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.16 ▲0.22 |
Dashboard /wp-admin | 3.42 ▲0.11 | 60.22 ▲5.94 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 51.23 ▼2.71 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 100.59 ▼8.35 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.10 ▲6.79 |
WP Mail Debugger /wp-admin/tools.php?page=wp-mail-debugger | 3.25 | 34.13 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 107 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wp_mail_debug_emails |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Mail Debugger
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.27 ▼0.34 | 2.26 ▲0.30 | 45.93 ▲4.22 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.05 | 91.42 ▼1.24 | 39.29 ▼4.82 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▼0.04 | 37.90 ▼1.95 | 35.26 ▲1.50 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.31 ▼0.06 | 651.39 ▼37.44 | 49.91 ▼8.97 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.16 ▼0.08 | 100.51 ▼1.12 | 47.15 ▲2.14 |
WP Mail Debugger /wp-admin/tools.php?page=wp-mail-debugger | 892 | 8.00 | 185.53 | 27.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_wp_mail_debug_emails
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function TimothyBJacobs\\WPMailDebugger\\add_action() in wp-content/plugins/wp-mail-debugger/wp-mail-debugger.php:49
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\AssetManager\\AssetManager' not found in wp-content/plugins/wp-mail-debugger/src/Infrastructure/AssetManager/WPAssetManager.php:17
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Domain\\Email\\EmailsRepository' not found in wp-content/plugins/wp-mail-debugger/src/Infrastructure/Email/DBTableEmailsRepository.php:25
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\VersionManager\\VersionManager' not found in wp-content/plugins/wp-mail-debugger/src/Infrastructure/VersionManager/WPOptionVersionManager.php:18
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\Runner\\Runner' not found in wp-content/plugins/wp-mail-debugger/src/Infrastructure/Runner/SimpleRunner.php:17
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\Exception\\Exception' not found in wp-content/plugins/wp-mail-debugger/src/Infrastructure/Exception/EntityNotFound.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/wp-mail-debugger/src/App/REST/EmailsController.php:26
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\Exception\\Exception' not found in wp-content/plugins/wp-mail-debugger/src/Domain/Email/InvalidUuid.php:16
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\Runnable' not found in wp-content/plugins/wp-mail-debugger/src/App/AdminPage.php:17
- > PHP Fatal error
Uncaught Error: Interface 'TimothyBJacobs\\WPMailDebugger\\Infrastructure\\Runnable' not found in wp-content/plugins/wp-mail-debugger/src/App/SettingsRegistry.php:16
- > PHP Fatal error
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/tools.php?page=wp-mail-debugger
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
wp.components.IconButton is deprecated since version 5.4 and will be removed in version 6.2. Please use wp.components.Button instead.
- > GET request to /wp-admin/tools.php?page=wp-mail-debugger
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
`dispatch` control in `@wordpress/data-controls` is deprecated since version 5.7. Please use built-in `dispatch` control in `@wordpress/data` instead.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: wp-mail, email log, email, troubleshooting, log...
wp-mail-debugger/wp-mail-debugger.php 92% from 13 tests
"WP Mail Debugger" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("5.3" instead of "5.3.0")
Code Analysis Passed 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 plugin3,533 lines of code in 102 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 475 | 1,138 | 1,741 |
JavaScript | 37 | 173 | 310 | 1,041 |
CSS | 14 | 101 | 0 | 549 |
JSON | 1 | 0 | 0 | 105 |
reStructuredText | 1 | 94 | 135 | 97 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 13 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 15 | 57.69% |
Methods | 141 | |
▷ Static methods | 5 | 3.55% |
▷ Public methods | 127 | 90.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 9.93% |
Functions | 23 | |
▷ Named functions | 3 | 13.04% |
▷ Anonymous functions | 20 | 86.96% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 2 | 40.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin