Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲2.86MB] [CPU: ▲15.49ms] Passed 4 tests
This is a short check of server-side resources used by Easy WP SMTP by SendLayer - WordPress SMTP and Email Log Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.52 ▲2.06 | 53.24 ▲15.28 |
Dashboard /wp-admin | 6.46 ▲3.11 | 65.11 ▲9.33 |
Posts /wp-admin/edit.php | 6.49 ▲3.13 | 74.15 ▲27.18 |
Add New Post /wp-admin/post-new.php | 9.02 ▲3.13 | 104.26 ▲10.18 |
Media Library /wp-admin/upload.php | 6.36 ▲3.13 | 62.56 ▲31.87 |
Email Log /wp-admin/admin.php?page=easy-wp-smtp-logs | 6.19 | 47.68 |
/wp-admin/admin.php?page=easy-wp-smtp-setup-wizard | 6.53 | 52.53 |
Send a Test /wp-admin/admin.php?page=easy-wp-smtp-tools&tab=test | 7.13 | 62.39 |
Email Reports /wp-admin/admin.php?page=easy-wp-smtp-reports | 6.68 | 57.80 |
Settings /wp-admin/admin.php?page=easy-wp-smtp | 6.81 | 64.57 |
Tools /wp-admin/admin.php?page=easy-wp-smtp-tools | 7.13 | 59.69 |
Server storage [IO: ▲4.78MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 557 new files
Database: 6 new tables, 16 new options
New tables |
---|
wp_easywpsmtp_debug_events |
wp_actionscheduler_groups |
wp_actionscheduler_logs |
wp_actionscheduler_claims |
wp_actionscheduler_actions |
wp_easywpsmtp_tasks_meta |
New WordPress options |
---|
easy_wp_smtp_debug_events_db_version |
easy_wp_smtp_user_feedback_notice |
schema-ActionScheduler_StoreSchema |
action_scheduler_hybrid_store_demarkation |
widget_theysaidso_widget |
easy_wp_smtp_deprecated_options_migration_version |
easy_wp_smtp_migration_version |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Easy WP SMTP by SendLayer - WordPress SMTP and Email Log Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,263 ▲502 | 16.48 ▲1.93 | 3.27 ▲1.73 | 28.25 ▼12.61 |
Dashboard /wp-admin | 2,672 ▲494 | 7.53 ▲1.91 | 172.06 ▲67.19 | 61.33 ▲21.16 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 2.03 ▲0.05 | 34.93 ▼1.25 | 30.32 ▼5.01 |
Add New Post /wp-admin/post-new.php | 1,554 ▲21 | 23.30 ▲0.42 | 627.52 ▼13.98 | 63.07 ▲0.22 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.24 ▲0.03 | 98.43 ▼2.73 | 40.35 ▼6.79 |
Email Log /wp-admin/admin.php?page=easy-wp-smtp-logs | 1,066 | 2.03 | 34.09 | 43.90 |
/wp-admin/admin.php?page=easy-wp-smtp-setup-wizard | 422 | 2.86 | 50.02 | 14.29 |
Send a Test /wp-admin/admin.php?page=easy-wp-smtp-tools&tab=test | 1,052 | 2.11 | 34.44 | 35.94 |
Email Reports /wp-admin/admin.php?page=easy-wp-smtp-reports | 993 | 1.84 | 26.92 | 33.28 |
Settings /wp-admin/admin.php?page=easy-wp-smtp | 2,452 | 2.16 | 31.28 | 45.26 |
Tools /wp-admin/admin.php?page=easy-wp-smtp-tools | 1,092 | 1.94 | 28.87 | 39.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 6 tables in the database
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- wp_actionscheduler_logs
- wp_easywpsmtp_debug_events
- wp_easywpsmtp_tasks_meta
- wp_actionscheduler_groups
- This plugin does not fully uninstall, leaving 16 options in the database
- action_scheduler_hybrid_store_demarkation
- widget_recent-comments
- can_compress_scripts
- easy_wp_smtp_user_feedback_notice
- easy_wp_smtp_debug_events_db_version
- easy_wp_smtp_deprecated_options_migration_version
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- easy_wp_smtp_activated
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 234× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'EasyWPSMTP\\Vendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/easy-wp-smtp/vendor_prefixed/monolog/monolog/src/Monolog/Handler/GelfHandler.php:25
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/easy-wp-smtp/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_YearField.php:8
- > PHP Fatal error
Uncaught Error: Class 'EasyWPSMTP\\Vendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/easy-wp-smtp/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/easy-wp-smtp/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php:6
- > PHP Fatal error
Uncaught Error: Class 'EasyWPSMTP\\Tasks\\Task' not found in wp-content/plugins/easy-wp-smtp/src/UsageTracking/SendUsageTask.php:13
- > PHP Fatal error
Uncaught Error: Interface 'ActionScheduler_Schedule' not found in wp-content/plugins/easy-wp-smtp/vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Schedule_Deprecated.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_LogEntry' not found in wp-content/plugins/easy-wp-smtp/vendor/woocommerce/action-scheduler/classes/ActionScheduler_NullLogEntry.php:6
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-wp-smtp/src/MailCatcher.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'EasyWPSMTP\\Vendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/easy-wp-smtp/vendor_prefixed/monolog/monolog/src/Monolog/Processor/TagProcessor.php:18
- > PHP Fatal error
Uncaught Error: Interface 'EasyWPSMTP\\Admin\\PageInterface' not found in wp-content/plugins/easy-wp-smtp/src/Admin/PageAbstract.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
easy-wp-smtp/easy-wp-smtp.php 92% from 13 tests
This is the main PHP file of "Easy WP SMTP by SendLayer - WordPress SMTP and Email Log Plugin" version 2.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "5.6.20")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected40,762 lines of code in 507 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 414 | 6,860 | 25,654 | 38,864 |
JavaScript | 18 | 234 | 499 | 937 |
CSS | 11 | 146 | 29 | 700 |
SVG | 64 | 0 | 0 | 261 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 13.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 266.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 49 | |
Interfaces | 35 | |
Traits | 7 | |
Classes | 348 | |
▷ Abstract classes | 39 | 11.21% |
▷ Concrete classes | 309 | 88.79% |
▷ Final classes | 23 | 7.44% |
Methods | 2,828 | |
▷ Static methods | 424 | 14.99% |
▷ Public methods | 2,179 | 77.05% |
▷ Protected methods | 375 | 13.26% |
▷ Private methods | 274 | 9.69% |
Functions | 263 | |
▷ Named functions | 133 | 50.57% |
▷ Anonymous functions | 130 | 49.43% |
Constants | 253 | |
▷ Global constants | 48 | 18.97% |
▷ Class constants | 205 | 81.03% |
▷ Public constants | 205 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
25 compressed PNG files occupy 0.63MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/reports/email/icon-open.png | 0.45KB | 0.44KB | 0.44% |
assets/images/reports/email/icon-check-gray.png | 0.45KB | 0.45KB | 0.00% |
assets/images/education/logs/screenshot-02.png | 98.90KB | 104.81KB | 0.00% |
assets/images/education/reports/screenshot-01.png | 87.15KB | 89.71KB | 0.00% |
assets/images/education/reports/thumbnail-03.png | 15.45KB | 15.91KB | 0.00% |