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.12MB] [CPU: ▲0.19ms] Passed 4 tests
A check of server-side resources used by Emailtools for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 47.97 ▲4.32 |
Dashboard /wp-admin | 3.43 ▲0.12 | 49.64 ▼3.00 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 51.89 ▲2.50 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.00 ▼1.02 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.23 ▲2.28 |
Emailtools settings /wp-admin/options-general.php?page=emailtools | 3.32 | 36.19 |
Server storage [IO: ▲0.03MB] [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: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Emailtools for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.17 ▼1.52 | 1.71 ▼0.46 | 43.22 ▲0.98 |
Dashboard /wp-admin | 2,213 ▲28 | 4.84 ▼1.01 | 99.06 ▼10.47 | 39.67 ▼4.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.05 | 40.64 ▲0.05 | 35.11 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.68 ▲0.10 | 644.95 ▼65.31 | 71.16 ▲16.84 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.13 ▼0.07 | 117.93 ▲12.30 | 48.41 ▲0.01 |
Emailtools settings /wp-admin/options-general.php?page=emailtools | 802 | 2.06 | 24.45 | 27.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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
3 plugin tags: email campaign, email triggers, email
emailtools/emailtools.php 85% from 13 tests
The principal PHP file in "Emailtools for WordPress" v. 1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 229 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin484 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 166 | 289 | 484 |
PO File | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 39 | 84.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 15.22% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin