Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼10.04ms] Passed 4 tests
Analyzing server-side resources used by SMTP for Amazon SES - YaySMTP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 36.78 ▼6.73 |
Dashboard /wp-admin | 3.45 ▲0.10 | 42.37 ▼19.91 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.83 ▲7.47 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.39 ▼10.99 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.62 ▼2.54 |
Server storage [IO: ▲1.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 248 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_yay_smtp_amazonses_email_logs |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
yay_smtp_amazonses_version |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for SMTP for Amazon SES - YaySMTP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 14.38 ▲0.02 | 1.97 ▲0.17 | 43.91 ▼2.86 |
Dashboard /wp-admin | 2,207 ▲30 | 5.63 ▼0.01 | 92.94 ▲5.82 | 43.65 ▲0.90 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.00 ▼0.01 | 38.77 ▼1.81 | 38.52 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.99 ▲0.07 | 651.68 ▲40.79 | 55.61 ▲8.00 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.24 ▲0.03 | 97.34 ▼8.94 | 42.91 ▼1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_yay_smtp_amazonses_email_logs
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- yay_smtp_amazonses_version
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 92× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'YaySMTPAmazonSES\\Aws3\\Aws\\Api\\Parser\\AbstractParser' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/Aws/Api/Parser/QueryParser.php:12
- > PHP Fatal error
Uncaught Error: Interface 'YaySMTPAmazonSES\\Aws3\\Aws\\Signature\\SignatureInterface' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/Aws/Signature/AnonymousSignature.php:10
- > PHP Fatal error
Uncaught Error: Class 'YaySMTPAmazonSES\\Aws3\\Aws\\Api\\Parser\\AbstractRestParser' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/Aws/Api/Parser/RestJsonParser.php:11
- > PHP Fatal error
Uncaught Error: Interface 'YaySMTPAmazonSES\\Aws3\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/GuzzleHttp/Psr7/AppendStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'YaySMTPAmazonSES\\Aws3\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/GuzzleHttp/Promise/Coroutine.php:43
- > PHP Fatal error
Uncaught Error: Interface 'YaySMTPAmazonSES\\Aws3\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/GuzzleHttp/Promise/RejectedPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'YaySMTPAmazonSES\\Aws3\\Aws\\AwsClientInterface' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/Aws/AwsClient.php:13
- > PHP Fatal error
Uncaught Error: Class 'YaySMTPAmazonSES\\Aws3\\Aws\\Api\\Serializer\\RestSerializer' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/Aws/Api/Serializer/RestXmlSerializer.php:11
- > PHP Fatal error
Uncaught Error: Interface 'YaySMTPAmazonSES\\Aws3\\GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/GuzzleHttp/Promise/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Class 'YaySMTPAmazonSES\\Aws3\\Aws\\Api\\Parser\\AbstractParser' not found in wp-content/plugins/smtp-amazon-ses/vendor_amazon/Aws/Api/Parser/AbstractRestParser.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please describe screenshot #2 in smtp-amazon-ses/assets to your readme.txt
smtp-amazon-ses/yay-smtp.php 85% from 13 tests
The main file in "SMTP for Amazon SES - YaySMTP" v. 1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("smtp-amazon-ses.php" instead of "yay-smtp.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin18,561 lines of code in 245 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 243 | 728 | 9,146 | 15,786 |
JavaScript | 1 | 102 | 79 | 1,529 |
CSS | 1 | 94 | 31 | 1,246 |
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.42 |
Average class complexity | 11.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 25 | |
Traits | 10 | |
Classes | 178 | |
▷ Abstract classes | 8 | 4.49% |
▷ Concrete classes | 170 | 95.51% |
▷ Final classes | 10 | 5.88% |
Methods | 1,496 | |
▷ Static methods | 202 | 13.50% |
▷ Public methods | 1,073 | 71.72% |
▷ Protected methods | 57 | 3.81% |
▷ Private methods | 366 | 24.47% |
Functions | 272 | |
▷ Named functions | 68 | 25.00% |
▷ Anonymous functions | 204 | 75.00% |
Constants | 127 | |
▷ Global constants | 6 | 4.72% |
▷ Class constants | 121 | 95.28% |
▷ Public constants | 121 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin