Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼0.12ms] Passed 4 tests
Analyzing server-side resources used by WP easy mail SES
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 44.17 ▼3.67 |
Dashboard /wp-admin | 3.65 ▲0.34 | 48.81 ▼1.68 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 51.39 ▲2.95 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 96.58 ▲1.91 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 43.57 ▲8.43 |
WP easy mail SES /wp-admin/options-general.php?page=wpem4s-settings | 3.49 | 39.50 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 132 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
wp-easy-mail-ses |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP easy mail SES
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 14.45 ▼0.11 | 1.77 ▼0.26 | 43.52 ▲0.19 |
Dashboard /wp-admin | 2,209 ▲18 | 5.80 ▲0.75 | 96.45 ▼18.18 | 39.00 ▼7.08 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▲0.02 | 39.51 ▲3.58 | 35.25 ▼4.03 |
Add New Post /wp-admin/post-new.php | 1,538 ▲17 | 23.16 ▲0.22 | 641.48 ▼20.37 | 53.14 ▼10.65 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.19 ▼0.02 | 111.08 ▲9.39 | 45.55 ▲1.12 |
WP easy mail SES /wp-admin/options-general.php?page=wpem4s-settings | 921 | 2.03 | 22.34 | 30.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- wp-easy-mail-ses
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 45× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\ClientInterface' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/guzzle/src/Client.php:25
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-easy-mail-for-ses/admin/partials/wp-easy-mail-ses-admin-display.php:15
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/promises/src/CancellationException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/promises/src/RejectedPromise.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/psr7/src/InflateStream.php:17
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/okamos/php-ses/tests/sesTest.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/psr7/src/NoSeekStream.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/psr7/src/AppendStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/wp-easy-mail-for-ses/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
wp-easy-mail-for-ses/wp-easy-mail-ses.php 92% from 13 tests
The main PHP file in "WP easy mail SES" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-easy-mail-for-ses.php" instead of "wp-easy-mail-ses.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
There were no executable files found in this plugin12,535 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 97 | 1,723 | 5,014 | 8,660 |
Markdown | 10 | 947 | 0 | 3,217 |
JSON | 6 | 0 | 0 | 451 |
PO File | 2 | 48 | 48 | 124 |
YAML | 2 | 7 | 0 | 51 |
CSS | 1 | 6 | 0 | 23 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 68 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 68 | 100.00% |
▷ Final classes | 7 | 10.29% |
Methods | 667 | |
▷ Static methods | 63 | 9.45% |
▷ Public methods | 548 | 82.16% |
▷ Protected methods | 4 | 0.60% |
▷ Private methods | 115 | 17.24% |
Functions | 144 | |
▷ Named functions | 57 | 39.58% |
▷ Anonymous functions | 87 | 60.42% |
Constants | 68 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 68 | 100.00% |
▷ Public constants | 68 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin