Benchmarks
Plugin footprint Passed 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.03MB] [CPU: ▼144.05ms] Passed 4 tests
Analyzing server-side resources used by Send Email From Admin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 38.04 ▲15.30 |
Dashboard /wp-admin | 3.09 ▲0.04 | 48.79 ▼1.09 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 50.35 ▲2.07 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 93.78 ▼575.23 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 31.96 ▼1.94 |
Send Email /wp-admin/tools.php?page=sefa_email | 3.07 | 34.76 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Send Email From Admin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲89 | 16.21 ▲0.63 | 7.66 ▼2.55 | 52.16 ▲0.06 |
Dashboard /wp-admin | 2,994 ▲61 | 5.88 ▼0.05 | 138.92 ▼17.81 | 118.50 ▲0.90 |
Posts /wp-admin/edit.php | 2,744 ▲8 | 2.68 ▼0.01 | 67.70 ▼11.08 | 92.44 ▼5.31 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.81 ▲1.05 | 389.90 ▼5.62 | 116.57 ▼1.28 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.02 ▼0.02 | 159.37 ▼4.12 | 130.45 ▲2.30 |
Send Email /wp-admin/tools.php?page=sefa_email | 2,134 | 7.64 | 176.89 | 140.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: admin email, custom email, email attachment, email, email tools...
send-email-from-admin/send-email-from-admin.php 92% from 13 tests
The main file in "Send Email From Admin" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, 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
There were no executable files found in this plugin331 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 63 | 186 |
CSS | 1 | 1 | 0 | 88 |
PO File | 1 | 14 | 14 | 46 |
JavaScript | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected