Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.64ms] Passed 4 tests
Analyzing server-side resources used by Drag and Drop Email Template Designer : Visual Email Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.76 ▼6.27 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.96 ▲4.54 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.10 ▼2.82 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 85.42 ▼20.59 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.07 ▼0.87 |
Licenses /wp-admin/edit.php?post_type=wpmnotifications&page=wpm_notification_licenses | 3.28 | 29.87 |
Add New /wp-admin/post-new.php?post_type=wpmnotifications | 3.46 | 43.90 |
All Notifications /wp-admin/edit.php?post_type=wpmnotifications | 3.36 | 35.08 |
Server storage [IO: ▲11.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
stla_licenses |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Drag and Drop Email Template Designer : Visual Email Builder: 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,834 ▲99 | 13.31 ▼1.07 | 1.83 ▲0.11 | 41.65 ▼3.82 |
Dashboard /wp-admin | 2,231 ▲43 | 5.77 ▲0.87 | 101.98 ▼11.00 | 40.41 ▼1.26 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.01 ▼0.01 | 40.57 ▲1.17 | 35.09 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 28.38 ▲10.09 | 948.49 ▲318.91 | 67.90 ▲16.59 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.20 ▼0.05 | 99.55 ▲1.31 | 41.88 ▼0.78 |
Licenses /wp-admin/edit.php?post_type=wpmnotifications&page=wpm_notification_licenses | 807 | 2.03 | 24.68 | 25.58 |
Add New /wp-admin/post-new.php?post_type=wpmnotifications | 1,799 | 10.54 | 384.56 | 48.45 |
All Notifications /wp-admin/edit.php?post_type=wpmnotifications | 1,081 | 1.95 | 31.11 | 29.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- stla_licenses
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/visual-email-builder/wpm-visual-notification-builder.php
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-change-user-email-user.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-changed-user-email-user.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-lost-password-admin.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-download-personal-data-user.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-comment-in-moderation-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-automatic-core-update.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-changed-site-admin-email.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-password-changed-user.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-lost-password-user.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/visual-email-builder/includes/emails/class-wpm-visual-wp-change-site-admin-email.php:11
- > 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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: email templates, email builder, visual email builder, email editor, email designer...
visual-email-builder/wpm-visual-notification-builder.php 92% from 13 tests
"Drag and Drop Email Template Designer : Visual Email Builder" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("visual-email-builder.php" instead of "wpm-visual-notification-builder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,329 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 758 | 663 | 1,905 |
SVG | 1 | 1 | 1 | 392 |
HTML | 15 | 0 | 0 | 15 |
JavaScript | 3 | 2 | 4 | 15 |
CSS | 2 | 0 | 1 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 14 | 11.76% |
▷ Public methods | 112 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 5.88% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 1.22MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin-menu/images/inactive.png | 1.58KB | 1.32KB | ▼ 16.60% |
build/static/media/tracksmith.27668133.png | 362.99KB | 122.50KB | ▼ 66.25% |
build/static/media/treehouse.48ca51ae.png | 49.88KB | 18.14KB | ▼ 63.62% |
includes/admin-menu/images/active.png | 1.63KB | 1.34KB | ▼ 17.74% |
build/static/media/whereby.275b62db.png | 69.00KB | 24.54KB | ▼ 64.44% |