Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.65ms] Passed 4 tests
An overview of server-side resources used by WP Hotmail SMTP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.51 ▼4.60 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.33 ▼2.78 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.46 ▼1.26 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 104.73 ▼1.52 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.14 ▼1.68 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Hotmail SMTP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 14.69 ▲0.40 | 1.66 ▼0.17 | 39.90 ▼0.73 |
Dashboard /wp-admin | 2,221 ▲44 | 5.55 ▼0.10 | 89.26 ▼0.13 | 43.85 ▲1.28 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 2.16 ▲0.15 | 39.84 ▲1.22 | 37.27 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.34 ▲0.24 | 615.53 ▼71.90 | 45.65 ▼7.08 |
Media Library /wp-admin/upload.php | 1,426 ▲29 | 4.17 ▲0.01 | 100.81 ▲7.04 | 45.72 ▲0.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-hotmail-smtp/wp-hotmail-smtp.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-hotmail-smtp/wp-hotmail-smtp.php Passed 13 tests
"WP Hotmail SMTP" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
104 characters long description:
WP Hotmail SMTP allows you to send all outgoing emails via Hotmail SMTP server from your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected543 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 96 | 90 | 543 |
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.36 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 32 | 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
3 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
m_bolt_img.png | 22.17KB | 8.42KB | ▼ 62.01% |
screenshot-2.png | 60.35KB | 26.67KB | ▼ 55.80% |
screenshot-1.png | 79.96KB | 37.99KB | ▼ 52.49% |