Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.59ms] Passed 4 tests
A check of server-side resources used by WP Mail From II
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.56 ▼0.55 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.86 ▼13.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.02 ▲4.20 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.71 ▼7.88 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.26 ▼0.71 |
Mail From /wp-admin/options-general.php?page=wp-mailfrom-ii | 3.25 | 34.34 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wp_mailfrom_ii_override_admin |
can_compress_scripts |
wp_mailfrom_ii_override_default |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Mail From II
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.25 ▼0.41 | 1.55 ▼0.33 | 42.84 ▼4.68 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▲0.00 | 84.33 ▼7.31 | 36.32 ▼4.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.01 | 36.63 ▲0.29 | 31.71 ▼5.63 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.05 ▼0.04 | 626.44 ▲5.44 | 64.33 ▲15.77 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.33 ▲0.09 | 97.83 ▼6.14 | 42.71 ▼1.17 |
Mail From /wp-admin/options-general.php?page=wp-mailfrom-ii | 829 | 2.03 | 26.66 | 30.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Congratulations! This plugin passed the SRP test
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
9 plugin tags: email address, from header, email, mail from, mail...
wp-mailfrom-ii/wp-mailfrom-ii.php Passed 13 tests
The entry point to "WP Mail From II" version 2.0 is a PHP file that has certain tags in its header comment area
93 characters long description:
Allows you to configure the default email address and name used for emails sent by WordPress.
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 plugin407 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 134 | 286 | 220 |
Markdown | 2 | 51 | 0 | 104 |
PO File | 2 | 20 | 20 | 83 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin