Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.47MB] [CPU: ▲4.78ms] 75% from 4 tests
Server-side resources used by 9MAIL - WordPress Email Templates Designer
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 508.28ms on /wp-admin/edit.php?post_type=wp_email_tmpl&page=9mail-wp-email-templates-designer-extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 48.52 ▲8.11 |
Dashboard /wp-admin | 3.84 ▲0.50 | 63.20 ▲4.11 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 59.02 ▲14.87 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.48 | 89.81 ▼4.28 |
Media Library /wp-admin/upload.php | 3.70 ▲0.48 | 45.05 ▲11.16 |
All Emails /wp-admin/edit.php?post_type=wp_email_tmpl | 3.87 | 52.23 |
Add New /wp-admin/post-new.php?post_type=wp_email_tmpl | 4.04 | 59.48 |
Extensions /wp-admin/edit.php?post_type=wp_email_tmpl&page=9mail-wp-email-templates-designer-extensions | 3.94 | 508.28 |
Server storage [IO: ▲2.93MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 178 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
9mail-wp-email-templates-designer_start_use |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 9MAIL - WordPress Email Templates Designer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 13.22 ▼1.53 | 4.60 ▲2.72 | 48.02 ▲4.64 |
Dashboard /wp-admin | 2,261 ▲76 | 5.82 ▼0.06 | 99.15 ▼21.55 | 43.29 ▼1.82 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.05 ▲0.01 | 36.99 ▲1.11 | 34.00 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,582 ▲49 | 18.13 ▼5.00 | 607.32 ▼34.10 | 50.82 ▼6.05 |
Media Library /wp-admin/upload.php | 1,446 ▲61 | 4.18 ▼0.05 | 99.83 ▼2.37 | 44.55 ▼0.04 |
All Emails /wp-admin/edit.php?post_type=wp_email_tmpl | 1,664 | 1.99 | 35.35 | 30.48 |
Add New /wp-admin/post-new.php?post_type=wp_email_tmpl | 2,225 | 5.42 | 110.63 | 79.74 |
Extensions /wp-admin/edit.php?post_type=wp_email_tmpl&page=9mail-wp-email-templates-designer-extensions | 1,757 | 2.03 | 25.40 | 62.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- 9mail-wp-email-templates-designer_start_use
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: email template, email customizer, email, wordpress
9mail-wp-email-templates-designer/9mail-wp-email-templates-designer.php Passed 13 tests
"9MAIL - WordPress Email Templates Designer" version 1.0.12's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
47 characters long description:
Make your WordPress emails become professional.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin13,903 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 3,847 |
PHP | 17 | 495 | 101 | 3,119 |
JavaScript | 17 | 448 | 108 | 3,114 |
CSS | 16 | 117 | 84 | 1,767 |
Sass | 2 | 382 | 19 | 1,668 |
PO File | 1 | 179 | 261 | 388 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 37.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 120 | |
▷ Static methods | 22 | 18.33% |
▷ Public methods | 113 | 94.17% |
▷ Protected methods | 1 | 0.83% |
▷ Private methods | 6 | 5.00% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 1 | |
▷ Global constants | 1 | 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
95 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/phone-black-border.png | 0.47KB | 0.32KB | ▼ 32.22% |
assets/img/li-white-color.png | 0.82KB | 0.46KB | ▼ 44.40% |
assets/img/home-white-black.png | 0.47KB | 0.29KB | ▼ 38.43% |
assets/img/li-color.png | 0.50KB | 0.32KB | ▼ 36.20% |
assets/img/ins-black.png | 0.79KB | 0.41KB | ▼ 47.91% |