Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼253.92ms] Passed 4 tests
An overview of server-side resources used by SDK WP SMTP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 36.41 ▲11.51 |
Dashboard /wp-admin | 3.09 ▲0.03 | 50.29 ▲9.54 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.25 ▲4.86 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 91.45 ▼1,028.33 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 38.61 ▼1.76 |
SDK WP SMTP /wp-admin/options-general.php?page=sdk-wp-smtp/sdk-wp-smtp.php | 3.06 | 29.99 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
sdk_wp_smtp_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SDK WP SMTP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲72 | 15.78 ▼0.06 | 7.55 ▼0.60 | 46.75 ▲3.46 |
Dashboard /wp-admin | 2,938 ▲85 | 5.88 ▲0.07 | 134.05 ▼2.82 | 112.18 ▲5.47 |
Posts /wp-admin/edit.php | 2,708 ▲2 | 2.68 ▼0.02 | 62.22 ▼3.58 | 90.02 ▼18.06 |
Add New Post /wp-admin/post-new.php | 1,659 ▲71 | 18.16 ▼3.22 | 358.81 ▲77.23 | 111.18 ▲3.80 |
Media Library /wp-admin/upload.php | 1,777 ▼1 | 5.00 ▲0.00 | 162.00 ▲8.40 | 121.99 ▲7.16 |
SDK WP SMTP /wp-admin/options-general.php?page=sdk-wp-smtp/sdk-wp-smtp.php | 1,415 | 2.08 | 61.48 | 72.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- sdk_wp_smtp_options
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
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 fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sdk-wp-smtp/sdk-wp-smtp.php
- > /wp-content/plugins/sdk-wp-smtp/sdk_wp_smtp_admin.php
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)
No browser issues were found
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
sdk-wp-smtp/sdk-wp-smtp.php Passed 13 tests
"SDK WP SMTP" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
131 characters long description:
Standard Development Kit WP SMTP can help us to send emails via over the sky of SMTP instead of using the core php mail() function.
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
No dangerous file extensions were detected419 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 42 | 20 | 358 |
PO File | 1 | 23 | 22 | 61 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin