Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.19MB] [CPU: ▲5.71ms] Passed 4 tests
A check of server-side resources used by WP Offload SES Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.69 ▲1.23 | 56.46 ▲13.94 |
Dashboard /wp-admin | 4.52 ▲1.21 | 64.20 ▲8.12 |
Posts /wp-admin/edit.php | 4.57 ▲1.21 | 61.36 ▼0.32 |
Add New Post /wp-admin/post-new.php | 7.06 ▲1.17 | 102.49 ▲6.19 |
Media Library /wp-admin/upload.php | 4.38 ▲1.15 | 47.90 ▲8.85 |
Offload SES Lite /wp-admin/options-general.php?page=wp-offload-ses | 4.43 | 52.13 |
Server storage [IO: ▲6.28MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 1,401 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_oses_clicks |
wp_oses_jobs |
wp_oses_failures |
wp_oses_email_attachments |
wp_oses_attachments |
wp_oses_emails |
New WordPress options |
---|
wposes_settings |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Offload SES Lite: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.18 ▼1.20 | 1.84 ▼0.27 | 41.55 ▼1.97 |
Dashboard /wp-admin | 2,221 ▲33 | 5.82 ▲0.89 | 100.74 ▼5.35 | 38.43 ▼4.90 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.02 ▲0.02 | 34.72 ▼7.89 | 31.00 ▼7.58 |
Add New Post /wp-admin/post-new.php | 1,530 ▼7 | 23.02 ▼0.14 | 596.40 ▼109.87 | 50.72 ▼3.48 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.24 ▲0.12 | 100.86 ▼11.68 | 44.10 ▼4.78 |
Offload SES Lite /wp-admin/options-general.php?page=wp-offload-ses | 1,945 | 2.25 | 34.46 | 75.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall successfully, leaving 6 tables in the database
- wp_oses_emails
- wp_oses_email_attachments
- wp_oses_attachments
- wp_oses_jobs
- wp_oses_clicks
- wp_oses_failures
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- wposes_settings
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-ses/view/footer.php
- > /wp-content/plugins/wp-ses/view/notice.php
- > /wp-content/plugins/wp-ses/view/modals/view-email.php
- 290× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WP_Offload_SES\\Aws3\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-ses/vendor/Aws3/GuzzleHttp/Psr7/LazyOpenStream.php:11
- > PHP Fatal error
Uncaught Error: Class 'DeliciousBrains\\WP_Offload_SES\\Carbon\\CarbonPeriod' not found in wp-content/plugins/wp-ses/vendor/Carbon/CarbonPeriodImmutable.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-ses/view/health-report/email-failures.php:2
- > PHP Fatal error
Trait 'DeliciousBrains\\WP_Offload_SES\\Aws3\\Aws\\Api\\Parser\\MetadataParserTrait' not found in wp-content/plugins/wp-ses/vendor/Aws3/Aws/Api/ErrorParser/AbstractErrorParser.php on line 11
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WP_Offload_SES\\Aws3\\GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/wp-ses/vendor/Aws3/GuzzleHttp/Exception/TransferException.php:5
- > PHP Fatal error
Uncaught Error: Class 'DeliciousBrains\\WP_Offload_SES\\Aws3\\Aws\\Arn\\S3\\AccessPointArn' not found in wp-content/plugins/wp-ses/vendor/Aws3/Aws/Arn/S3/MultiRegionAccessPointArn.php:13
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WP_Offload_SES\\Aws3\\Psr\\Http\\Message\\UploadedFileInterface' not found in wp-content/plugins/wp-ses/vendor/Aws3/GuzzleHttp/Psr7/UploadedFile.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-ses/view/elements/select.php:2
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WP_Offload_SES\\Aws3\\GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/wp-ses/vendor/Aws3/GuzzleHttp/Exception/InvalidArgumentException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'DeliciousBrains\\WP_Offload_SES\\PHPStan\\Reflection\\MethodsClassReflectionExtension' not found in wp-content/plugins/wp-ses/vendor/Carbon/PHPStan/MacroExtension.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: amazon ses, gmail smtp, newsletter, email delivery, smtp
wp-ses/wp-ses.php 92% from 13 tests
"WP Offload SES Lite" version 1.6.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected56,474 lines of code in 1,189 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,162 | 3,913 | 39,857 | 43,637 |
Markdown | 3 | 3,702 | 0 | 10,221 |
CSS | 3 | 29 | 28 | 1,415 |
JavaScript | 16 | 277 | 409 | 1,154 |
SVG | 5 | 0 | 1 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 14.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 324.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 67 | |
Interfaces | 61 | |
Traits | 46 | |
Classes | 350 | |
▷ Abstract classes | 18 | 5.14% |
▷ Concrete classes | 332 | 94.86% |
▷ Final classes | 43 | 12.95% |
Methods | 3,768 | |
▷ Static methods | 726 | 19.27% |
▷ Public methods | 2,962 | 78.61% |
▷ Protected methods | 202 | 5.36% |
▷ Private methods | 604 | 16.03% |
Functions | 531 | |
▷ Named functions | 41 | 7.72% |
▷ Anonymous functions | 490 | 92.28% |
Constants | 287 | |
▷ Global constants | 1 | 0.35% |
▷ Class constants | 286 | 99.65% |
▷ Public constants | 275 | 96.15% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/reporting-blur.png | 150.61KB | 82.47KB | ▼ 45.25% |
assets/img/SES-circle.png | 14.88KB | 2.64KB | ▼ 82.26% |