Benchmarks
Plugin footprint 83% from 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.58MB] [CPU: ▲0.55ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Email Customizer - Email Template Customizer and Designer with Drag and Drop Email Templates Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.55 | 48.43 ▲7.74 |
Dashboard /wp-admin | 3.92 ▲0.57 | 55.35 ▼9.65 |
Posts /wp-admin/edit.php | 4.01 ▲0.65 | 58.41 ▲12.26 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 91.33 ▼8.14 |
Media Library /wp-admin/upload.php | 3.82 ▲0.58 | 50.37 ▲14.20 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 119 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
WooCommerce Email Customizer - Email Template Customizer and Designer with Drag and Drop Email Templates Builder: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.34 ▼0.01 | 1.60 ▼0.02 | 40.55 ▼3.46 |
Dashboard /wp-admin | 2,200 ▲23 | 5.52 ▼0.03 | 91.57 ▼5.82 | 38.31 ▼8.75 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.01 ▼0.00 | 39.26 ▲0.14 | 36.88 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.70 ▲0.73 | 671.85 ▼0.62 | 64.50 ▲6.43 |
Media Library /wp-admin/upload.php | 1,467 ▲67 | 4.17 ▼0.09 | 106.50 ▲6.76 | 45.80 ▲0.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/email-customizer-and-designer-for-woocommerce/includes/views/admin-root.php
- > /wp-content/plugins/email-customizer-and-designer-for-woocommerce/includes/views/admin-global-style.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/email-customizer-and-designer-for-woocommerce/start.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
email-customizer-and-designer-for-woocommerce/start.php 92% from 13 tests
The main PHP script in "WooCommerce Email Customizer - Email Template Customizer and Designer with Drag and Drop Email Templates Builder" version 1.0.8 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("email-customizer-and-designer-for-woocommerce.php" instead of "start.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected5,641 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 340 | 542 | 3,359 |
JSON | 1 | 0 | 0 | 882 |
SVG | 94 | 0 | 0 | 705 |
PO File | 1 | 292 | 292 | 596 |
JavaScript | 3 | 0 | 2 | 86 |
CSS | 1 | 13 | 1 | 13 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 169)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 157.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 309.00 |
Average method complexity | 7.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 169.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 4 | 5.56% |
▷ Public methods | 72 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
8 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instagram.png | 2.17KB | 1.79KB | ▼ 17.60% |
assets/images/gmail.png | 0.83KB | 0.53KB | ▼ 36.31% |
assets/images/twitter.png | 0.87KB | 0.56KB | ▼ 35.50% |
assets/images/youtube.png | 0.80KB | 0.50KB | ▼ 37.42% |
assets/images/pinterest.png | 1.06KB | 0.63KB | ▼ 40.13% |