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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.76ms] Passed 4 tests
This is a short check of server-side resources used by Vik Mail SMTP - Wizard and Logs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.21 ▲5.98 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.64 ▲0.24 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.59 ▲7.04 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.55 ▼16.50 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.57 ▲3.26 |
SMTP Mailer /wp-admin/options-general.php?page=vikmailsmtp | 3.27 | 33.06 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Vik Mail SMTP - Wizard and Logs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.18 | 1.77 ▲0.04 | 43.39 ▲3.85 |
Dashboard /wp-admin | 2,207 ▲15 | 5.86 ▲0.91 | 93.42 ▼22.35 | 37.71 ▼7.75 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.06 | 35.13 ▼4.53 | 33.02 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.73 ▼5.44 | 668.48 ▲11.83 | 52.76 ▼6.35 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.05 | 101.82 ▼6.74 | 44.47 ▲0.87 |
SMTP Mailer /wp-admin/options-general.php?page=vikmailsmtp | 996 | 1.72 | 28.40 | 38.31 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- 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
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
Almost there! Just fix the following items
- 14× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/vikmailsmtp/helpers/translate.php
- > /wp-content/plugins/vikmailsmtp/layouts/wizard.php
- > /wp-content/plugins/vikmailsmtp/layouts/settings.php
- > /wp-content/plugins/vikmailsmtp/layouts/testemail.php
- > /wp-content/plugins/vikmailsmtp/layouts/menu.php
- > /wp-content/plugins/vikmailsmtp/helpers/settings.php
- > /wp-content/plugins/vikmailsmtp/helpers/installer.php
- > /wp-content/plugins/vikmailsmtp/layouts/message.php
- > /wp-content/plugins/vikmailsmtp/helpers/cypher.php
- > /wp-content/plugins/vikmailsmtp/helpers/logger.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: hotmail, yahoo, gmail, smtp, vik...
vikmailsmtp/vikmailsmtp.php Passed 13 tests
This is the main PHP file of "Vik Mail SMTP - Wizard and Logs" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
99 characters long description:
Let your WP website send email messages through your preferred SMTP service to ensure 100% delivery
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 detected1,004 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 181 | 457 | 895 |
CSS | 1 | 1 | 1 | 108 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 6 | 100.00% |
Methods | 28 | |
▷ Static methods | 28 | 100.00% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/hotmail.png | 8.46KB | 4.75KB | ▼ 43.86% |
assets/images/vikwp.png | 30.20KB | 14.74KB | ▼ 51.20% |
assets/images/gmail.png | 6.36KB | 3.02KB | ▼ 52.58% |