Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.97ms] Passed 4 tests
Server-side resources used by Add Plain-Text Email
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.42 ▲0.28 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.20 ▼2.75 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.71 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.71 ▼0.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.56 ▼0.18 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Add Plain-Text Email
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.34 ▲0.09 | 1.65 ▼0.08 | 42.97 ▼1.57 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.08 | 99.13 ▼3.32 | 43.65 ▲1.76 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.00 | 35.89 ▼1.19 | 33.87 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.53 ▲0.38 | 588.76 ▼60.08 | 54.58 ▼2.25 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.22 ▲0.01 | 98.58 ▲0.43 | 41.94 ▼3.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: html email, spam, text email, spamassassin, email
add-plain-text-email/add-plain-text-email.php Passed 13 tests
"Add Plain-Text Email" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
98 characters long description:
Adds a text/plain email to text/html emails to decrease the chance of emails being tagged as spam.
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
Everything looks great! No dangerous files found in this plugin632 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 155 | 417 | 632 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 19.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 19 | 43.18% |
▷ Public methods | 40 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.09% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 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
There were not PNG files found in your plugin