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.05MB] [CPU: ▼4.41ms] Passed 4 tests
Analyzing server-side resources used by Send Plain Mail
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.75 ▼6.07 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.17 ▼1.56 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 53.19 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.75 ▼11.84 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 37.57 ▲1.82 |
PlainMail Options /wp-admin/admin.php?page=plain-mail-options | 3.24 | 32.67 |
PlainMail /wp-admin/admin.php?page=plain-mail | 3.28 | 32.66 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Send Plain Mail
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.23 ▼0.05 | 1.90 ▲0.10 | 40.67 ▼6.36 |
Dashboard /wp-admin | 2,225 ▲45 | 5.57 ▼0.09 | 84.44 ▼3.14 | 39.18 ▼3.81 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 1.96 ▼0.04 | 39.57 ▲0.51 | 39.94 ▲3.44 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.45 ▼0.17 | 685.40 ▲32.73 | 57.89 ▲1.42 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.26 ▲0.08 | 93.92 ▼7.43 | 41.15 ▼3.57 |
PlainMail Options /wp-admin/admin.php?page=plain-mail-options | 807 | 2.03 | 24.39 | 20.01 |
PlainMail /wp-admin/admin.php?page=plain-mail | 1,401 | 5.97 | 123.20 | 56.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: email, list, mail, simple, send...
send-plain-mail/send-plain-mail.php Passed 13 tests
"Send Plain Mail" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
36 characters long description:
Easily send emails from your website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin707 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 0 | 16 | 387 |
PHP | 2 | 108 | 26 | 318 |
JavaScript | 1 | 1 | 1 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 1 | 10.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 90.00% |
Functions | 10 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 10 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin