Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.81ms] Passed 4 tests
This is a short check of server-side resources used by Launchpad WP SMTP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.36 ▼2.75 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.93 ▼3.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 41.85 ▼6.45 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.08 ▼14.97 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.00 ▲0.16 |
Launchpad SMTP /wp-admin/options-general.php?page=launchpad-smtp/launchpad-wp-smtp.php | 3.20 | 33.49 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
launchpad_wp_smtp_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Launchpad WP SMTP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.24 ▼1.35 | 4.62 ▲2.71 | 42.71 ▼1.63 |
Dashboard /wp-admin | 2,213 ▲25 | 4.83 ▼0.05 | 97.08 ▼6.72 | 37.78 ▼3.09 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.04 | 37.48 ▼0.89 | 32.48 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.13 ▲0.00 | 667.74 ▲32.72 | 54.49 ▲5.32 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.02 | 96.47 ▼2.58 | 43.28 ▼0.62 |
Launchpad SMTP /wp-admin/options-general.php?page=launchpad-smtp/launchpad-wp-smtp.php | 763 | 2.17 | 24.28 | 24.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- launchpad_wp_smtp_options
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=launchpad-smtp/launchpad-wp-smtp.php
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'Launchpad_WP_SMTP' does not have a method 'launchpad_smtp_page'
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 ("Gmail.com" settings), #2 ("Yahoo.com" settings), #3 ("Live.com" settings), #4 ("163.com" settings), #5 ("QQ.com" settings)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
launchpad-smtp/launchpad-wp-smtp.php 85% from 13 tests
The main PHP script in "Launchpad WP SMTP" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("launchpad-smtp.php" instead of "launchpad-wp-smtp.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected380 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 15 | 319 |
PO File | 1 | 23 | 22 | 61 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/163.png | 0.19KB | 0.13KB | ▼ 32.82% |
images/qq.png | 0.96KB | 1.18KB | 0.00% |
images/gmail.png | 0.68KB | 0.83KB | 0.00% |
images/yahoo.png | 1.51KB | 0.81KB | ▼ 46.68% |
images/microsoft.png | 0.71KB | 0.76KB | 0.00% |