Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▲0.93ms] Passed 4 tests
Server-side resources used by Zesty Emails Custom Template Designer for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 47.28 ▲1.81 |
Dashboard /wp-admin | 3.66 ▲0.32 | 55.49 ▼11.85 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 61.46 ▲10.45 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 102.44 ▲3.29 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 49.24 ▲12.41 |
Help /wp-admin/admin.php?page=zefw_help | 3.50 | 41.20 |
Contact /wp-admin/admin.php?page=zefw_contact | 3.49 | 39.25 |
Options /wp-admin/admin.php?page=zefw_options | 3.49 | 40.28 |
Zesty Emails for WooCommerce /wp-admin/admin.php?page=zefw_emails | 3.50 | 36.62 |
Server storage [IO: ▲2.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 151 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_zefw_custom_emails |
New WordPress options |
---|
zefw_element_id_counter |
widget_recent-posts |
zefw_custom_emails_table_version |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Zesty Emails Custom Template 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 / | 3,056 ▲285 | 16.41 ▲1.82 | 1.75 ▼0.25 | 43.04 ▼2.63 |
Dashboard /wp-admin | 2,447 ▲276 | 7.55 ▲1.94 | 129.25 ▲28.53 | 99.15 ▲55.84 |
Posts /wp-admin/edit.php | 2,387 ▲287 | 4.93 ▲2.91 | 69.88 ▲33.95 | 91.11 ▲53.44 |
Add New Post /wp-admin/post-new.php | 1,799 ▲273 | 23.04 ▼0.44 | 651.46 ▼55.94 | 40.62 ▼23.29 |
Media Library /wp-admin/upload.php | 1,533 ▲133 | 5.11 ▲1.00 | 95.41 ▼16.45 | 91.43 ▲42.62 |
Help /wp-admin/admin.php?page=zefw_help | 1,411 | 4.94 | 62.98 | 99.57 |
Contact /wp-admin/admin.php?page=zefw_contact | 1,161 | 4.88 | 49.76 | 70.63 |
Options /wp-admin/admin.php?page=zefw_options | 1,162 | 4.87 | 53.46 | 75.50 |
Zesty Emails for WooCommerce /wp-admin/admin.php?page=zefw_emails | 1,336 | 4.87 | 51.08 | 61.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_zefw_custom_emails
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- zefw_element_id_counter
- db_upgraded
- zefw_custom_emails_table_version
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/templates/email_styles.php
- > /wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/plugin.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/admin-side-menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/test-emails.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/admin-nav-menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/admin-nav-menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/admin-nav-menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/BLD_Config.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/admin-nav-menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/edit_single_template.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/ajax/ZBLDR_Ajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/zesty-emails-custom-template-designer-for-woocommerce/admin/ZBLDR_Config.php:6
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: email, templates, customize, design, woocommerce
zesty-emails-custom-template-designer-for-woocommerce/plugin.php 85% from 13 tests
The entry point to "Zesty Emails Custom Template Designer for WooCommerce" version 1.0.01 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zesty-emails-custom-template-designer-for-woocommerce.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin15,416 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 32 | 12 | 12 | 6,040 |
JavaScript | 13 | 609 | 213 | 4,250 |
PO File | 8 | 1,056 | 1,168 | 2,293 |
PHP | 22 | 441 | 81 | 1,660 |
CSS | 11 | 224 | 41 | 1,075 |
Markdown | 1 | 36 | 0 | 87 |
JSON | 11 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 95.00 |
▷ Minimum class complexity | 95.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 65.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 34.62% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
32 compressed PNG files occupy 1.46MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons/pinterest_icon_light.png | 10.41KB | 11.71KB | 0.00% |
images/icons/facebook_icon_light.png | 3.10KB | 3.07KB | ▼ 1.20% |
images/icons/youtube_icon_light.png | 5.28KB | 5.47KB | 0.00% |
images/icons/tiktok_icon_light.png | 5.71KB | 5.73KB | 0.00% |
images/icons/facebook_icon.png | 3.11KB | 3.07KB | ▼ 1.29% |