Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.83MB] [CPU: ▼5.24ms] Passed 4 tests
Server-side resources used by Visual Email Designer for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 41.04 ▼1.75 |
Dashboard /wp-admin | 4.19 ▲0.84 | 48.14 ▼11.58 |
Posts /wp-admin/edit.php | 4.24 ▲0.88 | 53.79 ▲8.11 |
Add New Post /wp-admin/post-new.php | 6.71 ▲0.82 | 81.39 ▼12.77 |
Media Library /wp-admin/upload.php | 4.05 ▲0.82 | 37.86 ▲5.15 |
Order Based Template /wp-admin/admin.php?page=manage-email | 5.51 | 40.48 |
Template Menu /wp-admin/admin.php?page=manage-template | 5.51 | 40.01 |
Server storage [IO: ▲8.37MB] [DB: ▲0.27MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 176 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_email_log |
wp_sm_email_table |
wp_test_table |
New WordPress options |
---|
wordpress_email_customizer_pro_version |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Visual Email Designer for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.29 ▼1.48 | 5.14 ▲3.26 | 39.38 ▼5.41 |
Dashboard /wp-admin | 2,235 ▲50 | 4.94 ▼0.92 | 97.87 ▼15.97 | 76.65 ▲40.58 |
Posts /wp-admin/edit.php | 2,121 ▲29 | 1.99 ▼0.06 | 37.82 ▼6.91 | 33.61 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.51 ▼4.68 | 655.89 ▼36.91 | 64.82 ▲6.53 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.08 ▼0.12 | 103.12 ▼7.99 | 79.33 ▲34.04 |
Order Based Template /wp-admin/admin.php?page=manage-email | 2,234 | 4.91 | 220.04 | 96.96 |
Template Menu /wp-admin/admin.php?page=manage-template | 943 | 4.89 | 191.55 | 22.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.26MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_test_table
- wp_email_log
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- wordpress_email_customizer_pro_version
- widget_recent-comments
Smoke tests 75% from 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-template
- > Console-api (severe) in wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1+4:846966
TypeError: Cannot read properties of null (reading 'appendChild')\n at Zc.attachToDom (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:444462)\n at ah.render (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:469418)\n at ah.render (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:528180)\n at ah.\u003Canonymous> (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:145744)\n at ah.fire (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:137014)\n at \u003Ccomputed> [as render] (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:145795)\n at sh.init (/wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:526591)\n at /wp-content/plugins/email-customizer-woocommerce/assets/ckeditor5-build-classic/build/ckeditor.js?ver=6.3.1:5:529148
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-template
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/email-customizer-woocommerce/assets/js/smack-woocommerce-custom-mail.js?ver=6.3.1:434:27)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-template
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/email-customizer-woocommerce/assets/js/smack-woocommerce-custom-mail.js?ver=6.3.1:469:28)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-template
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/email-customizer-woocommerce/assets/js/smack-woocommerce-custom-mail.js?ver=6.3.1:504:27)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-template
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/email-customizer-woocommerce/assets/js/smack-woocommerce-custom-mail.js?ver=6.3.1:422:23)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-template
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).sortable is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (List of the WooCommerce Order templates.), #2 (Preview of WooCommerce Order based template design.), #3 (Drag "n" Drop view of template design.)
email-customizer-woocommerce/email-customizer-woocommerce.php 92% from 13 tests
The entry point to "Visual Email Designer for WooCommerce" version 1.7.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin59,242 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 1,545 | 379 | 22,264 |
CSS | 5 | 3,610 | 159 | 14,320 |
JavaScript | 9 | 1,135 | 464 | 11,552 |
SVG | 3 | 0 | 0 | 9,552 |
PO File | 6 | 598 | 1,442 | 1,474 |
JSON | 1 | 0 | 0 | 80 |
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.20 |
Average class complexity | 49.64 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 247.00 |
Average method complexity | 6.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 71 | 58.20% |
▷ Public methods | 122 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
92 PNG files occupy 2.12MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/email-customization-icon-03.png | 0.55KB | 0.42KB | ▼ 23.58% |
assets/images/facebook.png | 3.27KB | 3.18KB | ▼ 2.75% |
assets/images/logo3.png | 18.74KB | 5.70KB | ▼ 69.59% |
assets/images/theme4blog.png | 8.57KB | 8.35KB | ▼ 2.64% |
assets/images/text.png | 1.99KB | 0.98KB | ▼ 50.69% |