Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼1.13MB] [CPU: ▼42.05ms] Passed 4 tests
An overview of server-side resources used by Gnaritas Amazon SES
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.86 ▼3.28 |
Dashboard /wp-admin | 2.81 ▼0.49 | 16.31 ▼41.32 |
Posts /wp-admin/edit.php | 2.81 ▼0.55 | 17.94 ▼31.74 |
Add New Post /wp-admin/post-new.php | 2.81 ▼3.08 | 16.81 ▼75.21 |
Media Library /wp-admin/upload.php | 2.81 ▼0.42 | 15.10 ▼19.92 |
SNS Notifications /wp-admin/admin.php?page=gnses-notifications | 2.81 | 15.98 |
Amazon SES /wp-admin/admin.php?page=gnses-main | 2.81 | 17.41 |
Test Email /wp-admin/admin.php?page=gnses-test-email | 2.81 | 13.84 |
Server storage [IO: ▲8.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 917 new files
Database: 1 new table, 6 new options
New tables |
---|
gnses_notification |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Gnaritas Amazon SES
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲136 | 13.33 ▼0.96 | 1.65 ▼0.18 | 42.31 ▼3.05 |
Dashboard /wp-admin | 2,277 ▲89 | 5.88 ▲0.99 | 110.52 ▼6.46 | 42.52 ▼2.49 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.03 | 40.11 ▲5.93 | 35.96 ▲2.66 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 17.41 ▼0.08 | 628.66 ▼57.57 | 50.47 ▼4.98 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.22 ▲0.05 | 94.95 ▼12.01 | 40.60 ▼3.48 |
SNS Notifications /wp-admin/admin.php?page=gnses-notifications | 1,146 | 2.18 | 29.65 | 25.31 |
Amazon SES /wp-admin/admin.php?page=gnses-main | 1,053 | 2.34 | 25.21 | 28.47 |
Test Email /wp-admin/admin.php?page=gnses-test-email | 872 | 2.22 | 25.68 | 31.30 |
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
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/Ses.php+66
Undefined index: gnses_action
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-test-email
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/Ses.php+66
Undefined index: gnses_action
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/SesData.php+147
Undefined index: date_start
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/SesData.php+147
Undefined index: date_end
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/includes/admin-notifications.php+24
Undefined index: notification_type
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/SesData.php+147
Undefined index: filter_email
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/includes/admin-notifications.php+34
Undefined index: bounce_type
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/NotificationListTable.php+61
Undefined index: orderby
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/NotificationListTable.php+62
Undefined index: order
- > GET request to /wp-admin/admin.php?page=gnses-notifications
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/NotificationListTable.php+66
Undefined index: paged
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gnses-test-email
- > Notice in wp-content/plugins/gnaritas-amazon-ses/classes/Ses.php+489
Undefined property: gnaritas\ses\Ses::$msg
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
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gnaritas-amazon-ses/includes/_admin_page_close.php
- > /wp-content/plugins/gnaritas-amazon-ses/includes/_admin_form_close.php
- 315× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/Glacier/GlacierClient.php:85
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:11
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/Sqs/Exception/SqsException.php:9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-php-sns-message-validator/tests/FunctionalValidationsTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/Mobile/MobileClient.php:27
- > PHP Fatal error
Trait 'Aws\\Api\\Parser\\PayloadParserTrait' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/ConfigService/Exception/ConfigServiceException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Aws\\AwsClient' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/Batch/BatchClient.php:41
- > PHP Fatal error
Uncaught Error: Class 'Aws\\Exception\\AwsException' not found in wp-content/plugins/gnaritas-amazon-ses/vendor/aws/aws-sdk-php/src/ElasticsearchService/Exception/ElasticsearchServiceException.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: smtp, mail, amazon, wp_mail, csv...
gnaritas-amazon-ses/gn-ses.php 92% from 13 tests
The primary PHP file in "Gnaritas Amazon SES" version 0.1.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gnaritas-amazon-ses.php" instead of "gn-ses.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected31,941 lines of code in 792 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 760 | 5,374 | 19,989 | 27,527 |
Markdown | 14 | 1,044 | 0 | 3,524 |
JSON | 10 | 6 | 0 | 748 |
reStructuredText | 1 | 35 | 29 | 59 |
YAML | 3 | 9 | 0 | 34 |
XML | 2 | 5 | 0 | 27 |
make | 2 | 10 | 0 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 231 | |
Interfaces | 24 | |
Traits | 9 | |
Classes | 426 | |
▷ Abstract classes | 6 | 1.41% |
▷ Concrete classes | 420 | 98.59% |
▷ Final classes | 10 | 2.38% |
Methods | 2,011 | |
▷ Static methods | 214 | 10.64% |
▷ Public methods | 1,447 | 71.95% |
▷ Protected methods | 92 | 4.57% |
▷ Private methods | 472 | 23.47% |
Functions | 377 | |
▷ Named functions | 82 | 21.75% |
▷ Anonymous functions | 295 | 78.25% |
Constants | 135 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 135 | 100.00% |
▷ Public constants | 135 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin