Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼1.40ms] Passed 4 tests
Server-side resources used by Simple AWS SES Mail
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 37.53 ▼5.25 |
Dashboard /wp-admin | 3.70 ▲0.39 | 51.25 ▼0.85 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 53.00 ▼1.74 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 96.56 ▲2.25 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 39.92 ▲4.32 |
Logs /wp-admin/admin.php?page=sasm-email-logs | 3.52 | 34.88 |
Connection /wp-admin/admin.php?page=sasm-email | 3.52 | 32.74 |
Server storage [IO: ▲17.79MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 1,658 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple AWS SES Mail
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.29 ▼0.06 | 1.61 ▼0.19 | 40.87 ▼7.93 |
Dashboard /wp-admin | 2,228 ▲51 | 5.62 ▲0.08 | 85.49 ▼4.29 | 39.67 ▼3.68 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.06 ▲0.11 | 38.97 ▲1.60 | 37.93 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 22.82 ▼0.82 | 605.84 ▼50.65 | 62.30 ▲6.93 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.21 ▲0.04 | 95.77 ▼8.45 | 43.82 ▲0.74 |
Logs /wp-admin/admin.php?page=sasm-email-logs | 803 | 2.04 | 24.80 | 25.23 |
Connection /wp-admin/admin.php?page=sasm-email | 990 | 2.04 | 22.36 | 36.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% 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)
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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-ses-mail/vendor/mtdowling/jmespath.php/bin/jp.php
- 738× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AbstractConfigurationProvider' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/EndpointDiscovery/ConfigurationProvider.php:45
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/HashingStream.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/simple-ses-mail/vendor/guzzlehttp/psr7/src/AppendStream.php:12
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/Schemas/Exception/SchemasException.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-ses-mail/includes/class-sasm-admin.php:14
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/Honeycode/HoneycodeClient.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Aws\\ResultInterface' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/Result.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/Polly/PollyClient.php:32
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/Rekognition/RekognitionClient.php:103
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/simple-ses-mail/vendor/aws/aws-sdk-php/src/Efs/EfsClient.php:60
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Dashboard 1), #2 (Dashboard 2), #3 (Dashboard 3)
simple-ses-mail/simple-aws-ses-mail.php 85% from 13 tests
"Simple AWS SES Mail" version 0.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-ses-mail.php" instead of "simple-aws-ses-mail.php")
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 plugin45,961 lines of code in 1,643 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,611 | 7,606 | 35,238 | 40,914 |
Markdown | 16 | 1,187 | 0 | 3,620 |
JSON | 11 | 6 | 0 | 1,227 |
JavaScript | 1 | 27 | 0 | 60 |
reStructuredText | 1 | 35 | 29 | 59 |
CSS | 1 | 7 | 0 | 57 |
XML | 1 | 0 | 0 | 15 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 5.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 508 | |
Interfaces | 50 | |
Traits | 25 | |
Classes | 846 | |
▷ Abstract classes | 14 | 1.65% |
▷ Concrete classes | 832 | 98.35% |
▷ Final classes | 24 | 2.88% |
Methods | 2,544 | |
▷ Static methods | 445 | 17.49% |
▷ Public methods | 1,781 | 70.01% |
▷ Protected methods | 161 | 6.33% |
▷ Private methods | 602 | 23.66% |
Functions | 481 | |
▷ Named functions | 119 | 24.74% |
▷ Anonymous functions | 362 | 75.26% |
Constants | 218 | |
▷ Global constants | 5 | 2.29% |
▷ Class constants | 213 | 97.71% |
▷ Public constants | 213 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin