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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.34ms] Passed 4 tests
This is a short check of server-side resources used by Woo Send Email
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.49 ▼2.39 |
Dashboard /wp-admin | 3.34 ▼0.00 | 49.47 ▼14.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.69 ▼6.26 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.55 ▼6.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 37.64 ▲1.06 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Woo Send Email: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.27 ▼0.49 | 1.86 ▼0.14 | 44.62 ▲1.66 |
Dashboard /wp-admin | 2,205 ▲31 | 5.61 ▲0.01 | 85.65 ▼9.45 | 42.93 ▲0.63 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.06 ▲0.03 | 34.70 ▼10.98 | 34.47 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,561 ▲30 | 23.37 ▲0.28 | 663.18 ▼16.43 | 59.58 ▲1.45 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.20 ▼0.00 | 102.42 ▼0.35 | 45.89 ▲4.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: send custom email, product sku, ldav, send message, woocommerce...
woo-send-email/woo-send-email.php Passed 13 tests
The primary PHP file in "Woo Send Email" version 0.3 is used by WordPress to initiate all plugin functionality
91 characters long description:
Send custom email message to your WooCommerce customers directly from WC Orders Admin Page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin279 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 17 | 133 |
JavaScript | 1 | 5 | 4 | 81 |
PO File | 1 | 18 | 18 | 65 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected