Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.12MB] [CPU: ▲7.03ms] Passed 4 tests
Analyzing server-side resources used by Logger for WP Mail SMTP (3rd Party)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.54 ▲1.08 | 47.24 ▲5.27 |
Dashboard /wp-admin | 4.47 ▲1.17 | 61.33 ▲13.60 |
Posts /wp-admin/edit.php | 4.50 ▲1.14 | 53.83 ▲2.20 |
Add New Post /wp-admin/post-new.php | 7.05 ▲1.17 | 102.67 ▲12.29 |
Media Library /wp-admin/upload.php | 4.33 ▲1.10 | 42.58 ▲8.36 |
Server storage [IO: ▲3.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 392 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Logger for WP Mail SMTP (3rd Party)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.67 ▲0.01 | 1.88 ▲0.09 | 44.47 ▼15.28 |
Dashboard /wp-admin | 2,237 ▲55 | 4.92 ▼0.90 | 116.18 ▲10.58 | 42.76 ▼0.68 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.19 ▲0.14 | 37.77 ▼4.18 | 32.38 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 18.57 ▲0.90 | 630.57 ▼61.60 | 47.61 ▼9.52 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.26 ▲0.11 | 102.63 ▼9.57 | 42.99 ▼5.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/logger-for-wp-mail-smtp/src/Main.php
- > /wp-content/plugins/logger-for-wp-mail-smtp/wp-mail-smtp-logger.php
- 44× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'Extended_Rewrite_Testing' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/johnbillion/extended-cpts/src/class-extended-cpt-rewrite-testing.php:7
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Select' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Select_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/logger-for-wp-mail-smtp/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: mail, log, smtp, logging
logger-for-wp-mail-smtp/wp-mail-smtp-logger.php 77% from 13 tests
The principal PHP file in "Logger for WP Mail SMTP (3rd Party)" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("logger-for-wp-mail-smtp.php" instead of "wp-mail-smtp-logger.php")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.2" instead of "7.2.0")
- Description: Keep the plugin description shorter than 140 characters (currently 170 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
Success! There were no dangerous files found in this plugin57,825 lines of code in 244 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 79 | 2,837 | 7,693 | 10,056 |
JSON | 5 | 0 | 0 | 7,136 |
CSS | 12 | 250 | 1,190 | 4,554 |
JavaScript | 7 | 361 | 583 | 1,431 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 4 | 298 | 0 | 914 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 21.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 200.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 10 | 12.05% |
▷ Concrete classes | 73 | 87.95% |
▷ Final classes | 0 | 0.00% |
Methods | 652 | |
▷ Static methods | 103 | 15.80% |
▷ Public methods | 552 | 84.66% |
▷ Protected methods | 95 | 14.57% |
▷ Private methods | 5 | 0.77% |
Functions | 48 | |
▷ Named functions | 39 | 81.25% |
▷ Anonymous functions | 9 | 18.75% |
Constants | 13 | |
▷ Global constants | 4 | 30.77% |
▷ Class constants | 9 | 69.23% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/cmb2/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
vendor/cmb2/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |