Benchmarks
Plugin footprint 22% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/post-smtp/Postman/PostmanUtils.php+261
unlink(/tmp/.postman_9c8bff77.lock): No such file or directory
Server metrics [RAM: ▲6.73MB] [CPU: ▲50.52ms] 50% from 4 tests
A check of server-side resources used by POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress
Please take the time to fix the following items
- RAM: Total memory usage should be kept under 10MB (currently 10.20MB on /wp-admin/admin.php?page=postman/manage-options)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 6.73MB on /wp-admin/admin.php?page=postman/manage-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.26 ▲5.79 | 83.89 ▲37.79 |
Dashboard /wp-admin | 10.37 ▲7.02 | 105.65 ▲42.15 |
Posts /wp-admin/edit.php | 10.41 ▲7.05 | 112.55 ▲60.69 |
Add New Post /wp-admin/post-new.php | 12.97 ▲7.08 | 153.12 ▲61.46 |
Media Library /wp-admin/upload.php | 10.29 ▲7.05 | 104.02 ▲67.68 |
Credits /wp-admin/index.php?page=post-credits | 10.20 | 92.41 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 10.46 | 91.25 |
Welcome /wp-admin/index.php?page=post-about | 10.20 | 97.94 |
Postman SMTP /wp-admin/admin.php?page=postman/diagnostics | 10.20 | 86.94 |
Postman SMTP /wp-admin/admin.php?page=postman/port_test | 10.20 | 87.17 |
Postman SMTP /wp-admin/admin.php?page=postman/email_test | 10.20 | 90.61 |
Post SMTP /wp-admin/admin.php?page=postman/manage-options | 10.20 | 97.41 |
Server storage [IO: ▲15.05MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 1,531 new files
Database: 2 new tables, 12 new options
New tables |
---|
wp_post_smtp_logmeta |
wp_post_smtp_logs |
New WordPress options |
---|
can_compress_scripts |
fs_debug_mode |
postman_db_version |
widget_theysaidso_widget |
postman_state |
postman_options |
fs_accounts |
db_upgraded |
widget_recent-posts |
fs_active_plugins |
... |
Browser metrics Passed 4 tests
A check of browser resources used by POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲185 | 14.35 ▲0.07 | 1.71 ▲0.04 | 29.99 ▼13.55 |
Dashboard /wp-admin | 2,340 ▲163 | 4.84 ▼0.80 | 103.05 ▲5.80 | 45.96 ▲3.47 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 2.33 ▲0.37 | 40.56 ▼0.22 | 37.32 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,585 ▲59 | 22.13 ▼0.88 | 670.40 ▼7.97 | 34.32 ▼23.91 |
Media Library /wp-admin/upload.php | 1,482 ▲82 | 4.27 ▲0.00 | 101.01 ▲5.67 | 47.44 ▲6.05 |
Credits /wp-admin/index.php?page=post-credits | 927 | 2.22 | 30.16 | 51.75 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,114 | 1.76 | 25.93 | 26.96 |
Welcome /wp-admin/index.php?page=post-about | 961 | 2.39 | 31.26 | 55.92 |
Postman SMTP /wp-admin/admin.php?page=postman/diagnostics | 896 | 2.15 | 43.99 | 26.96 |
Postman SMTP /wp-admin/admin.php?page=postman/port_test | 1,130 | 2.20 | 39.87 | 32.12 |
Postman SMTP /wp-admin/admin.php?page=postman/email_test | 1,097 | 2.59 | 44.72 | 39.70 |
Post SMTP /wp-admin/admin.php?page=postman/manage-options | 939 | 1.89 | 26.93 | 28.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/post-smtp/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_post_smtp_logs
- wp_post_smtp_logmeta
- This plugin did not uninstall successfully, leaving 12 options in the database
- postman_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- fs_accounts
- db_upgraded
- postman_db_version
- postman_state
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=postman/diagnostics
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/post-smtp/Postman/Postman-Connectivity-Test/Postman-PortTest.php+76
stream_socket_client(): unable to connect to localhost:25 (Connection refused)
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/post-smtp/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/test-regDomain.php
- > /wp-content/plugins/post-smtp/Postman/Mobile/includes/phpqrcode/index.php
- > /wp-content/plugins/post-smtp/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php
- 500× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\phpseclib3\\Crypt\\DSA' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/DSA/PrivateKey.php:22
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Mime/Exception.php on line 25
- > PHP Fatal error
Uncaught Error: Interface 'PostSMTP\\Vendor\\Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
require_once(): Failed opening required 'Zend/Mail/Storage/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Pop3.php on line 27
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php:21
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\Google\\Model' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/google/apiclient-services/src/Gmail/SendAs.php:20
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect283k1' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk283.php:15
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\Google\\Collection' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/google/apiclient-services/src/Gmail/ListDelegatesResponse.php:20
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\phpseclib3\\Crypt\\EC\\Curves\\sect233k1' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk233.php:15
- > PHP Fatal error
Uncaught Error: Class 'PostSMTP\\Vendor\\Google\\Model' not found in wp-content/plugins/post-smtp/Postman/Postman-Mail/libs/vendor_prefixed/google/apiclient-services/src/Gmail/MessagePartBody.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in post-smtp/assets to your readme.txt
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
post-smtp/postman-smtp.php 85% from 13 tests
The entry point to "POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress" version 2.8.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 264 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("post-smtp.php" instead of "postman-smtp.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
It is important to fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/post-smtp/Postman/Mobile/includes/phpqrcode/tools/merge.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 862 | 17,336 | 64,331 | 118,156 |
JavaScript | 93 | 1,128 | 1,769 | 5,803 |
PO File | 7 | 3,195 | 6,586 | 4,467 |
CSS | 21 | 521 | 97 | 3,273 |
Markdown | 1 | 68 | 0 | 214 |
HTML | 1 | 2 | 0 | 37 |
JSON | 1 | 0 | 0 | 27 |
Bourne Shell | 1 | 0 | 0 | 2 |
DOS Batch | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 17.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 67 | |
Interfaces | 53 | |
Traits | 11 | |
Classes | 754 | |
▷ Abstract classes | 98 | 13.00% |
▷ Concrete classes | 656 | 87.00% |
▷ Final classes | 39 | 5.95% |
Methods | 6,722 | |
▷ Static methods | 1,074 | 15.98% |
▷ Public methods | 5,332 | 79.32% |
▷ Protected methods | 534 | 7.94% |
▷ Private methods | 856 | 12.73% |
Functions | 371 | |
▷ Named functions | 232 | 62.53% |
▷ Anonymous functions | 139 | 37.47% |
Constants | 1,025 | |
▷ Global constants | 252 | 24.59% |
▷ Class constants | 773 | 75.41% |
▷ Public constants | 773 | 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
97 PNG files occupy 0.43MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Postman/Wizard/assets/images/mandrill.png | 2.35KB | 1.37KB | ▼ 41.79% |
Postman/Mobile/includes/phpqrcode/cache/frame_15.png | 0.21KB | 0.20KB | ▼ 4.57% |
Postman/Wizard/assets/images/gmail.png | 1.03KB | 0.73KB | ▼ 29.04% |
Postman/Mobile/includes/phpqrcode/cache/frame_13.png | 0.21KB | 0.19KB | ▼ 5.24% |
Postman/Mobile/includes/phpqrcode/cache/frame_32.png | 0.26KB | 0.25KB | ▼ 4.20% |