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 gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼300.22ms] Passed 4 tests
Analyzing server-side resources used by Email Text Customizer for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 59.81 ▲1.73 |
Dashboard /wp-admin | 3.42 ▲0.02 | 34.69 ▼1.73 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.89 ▼10.35 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.07 | 94.37 ▼1,190.52 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 35.58 ▲9.87 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- Illegal file modification found: 18 files (40.52KB) outside of "wp-content/plugins/email-text-customizer-for-woocommerce/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/admin-new-order.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-new-account.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/admin-failed-order.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-processing-order.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-invoice.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-completed-order.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-note.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-on-hold-order.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/customer-refunded-order.php
- (new file) wp-content/themes/twentytwentytwo/woocommerce/emails/admin-cancelled-order.php
- ...
Filesystem: 23 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Email Text Customizer for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,771 ▲49 | 15.99 ▲0.82 | 5.65 ▼2.11 | 2.18 ▼0.27 |
Dashboard /wp-admin | 2,881 ▲23 | 6.10 ▼0.08 | 119.80 ▼24.27 | 161.96 ▼2.21 |
Posts /wp-admin/edit.php | 2,685 ▼6 | 3.23 ▼0.00 | 87.41 ▲24.16 | 144.42 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,661 ▼29 | 16.36 ▼4.38 | 448.77 ▲23.99 | 171.93 ▼0.29 |
Media Library /wp-admin/upload.php | 1,695 ▼0 | 5.51 ▲0.01 | 142.58 ▲1.64 | 195.51 ▼36.76 |
Uninstaller [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: email text customizer, woo, email, woocommerce, customize emails...
email-text-customizer-for-woocommerce/email-text-customizer-for-woocommerce.php 92% from 13 tests
This is the main PHP file of "Email Text Customizer for WooCommerce" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected753 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 320 | 576 | 753 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 1.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
2 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 23.95KB | 13.06KB | ▼ 45.46% |
screenshot-1.png | 77.16KB | 32.75KB | ▼ 57.55% |