Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼281.84ms] Passed 4 tests
Analyzing server-side resources used by Check-Mail-SMTP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.28 | 62.49 ▲13.97 |
Dashboard /wp-admin | 3.55 ▲0.15 | 44.61 ▲10.33 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 50.23 ▲14.79 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.04 | 102.33 ▼1,155.21 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 32.91 ▲3.55 |
Reports /wp-admin/admin.php?page=reports | 3.41 | 33.87 |
Check Sever Mail /wp-admin/admin.php?page=check-sever-mail | 3.42 | 35.14 |
SMTP /wp-admin/admin.php?page=smtp | 3.41 | 34.67 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, no new options
New tables |
---|
wp_reports |
Browser metrics Passed 4 tests
Checking browser requirements for Check-Mail-SMTP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,034 ▲277 | 17.62 ▲1.99 | 6.23 ▲0.43 | 2.18 ▼0.32 |
Dashboard /wp-admin | 3,144 ▲286 | 8.29 ▲2.11 | 160.47 ▲27.07 | 120.93 ▼44.94 |
Posts /wp-admin/edit.php | 2,975 ▲281 | 5.01 ▲1.76 | 83.55 ▲18.94 | 111.00 ▼33.22 |
Add New Post /wp-admin/post-new.php | 1,751 ▼1 | 20.91 ▼0.66 | 434.81 ▼14.27 | 180.36 ▲24.44 |
Media Library /wp-admin/upload.php | 1,761 ▲66 | 5.72 ▲0.20 | 110.89 ▼31.23 | 196.49 ▲10.98 |
Reports /wp-admin/admin.php?page=reports | 1,443 | 5.37 | 84.53 | 80.81 |
Check Sever Mail /wp-admin/admin.php?page=check-sever-mail | 1,340 | 4.61 | 80.48 | 86.63 |
SMTP /wp-admin/admin.php?page=smtp | 1,511 | 4.76 | 70.33 | 99.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/check-server-mail-smtp/reports.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smtp
- > Javascript (severe) in unknown
/wp-content/plugins/check-server-mail-smtp/js/bootstrap.min.js?ver=5.9.2 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (SMTP Mailer Settings) image not found
check-server-mail-smtp/main.php 92% from 13 tests
"Check-Mail-SMTP" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("check-server-mail-smtp.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected868 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 166 | 99 | 704 |
JavaScript | 2 | 0 | 9 | 162 |
CSS | 2 | 0 | 5 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 4.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
images/sort_both (1).png | 0.20KB | 0.29KB | 0.00% |
images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |