Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼5.98ms] Passed 4 tests
A check of server-side resources used by Welcome Email Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 40.52 ▼4.03 |
Dashboard /wp-admin | 3.62 ▲0.27 | 50.11 ▼12.83 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 47.76 ▼3.81 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 87.23 ▼3.23 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 39.52 ▲6.94 |
Welcome Email Editor /wp-admin/options-general.php?page=weed_settings | 3.55 | 32.41 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
weed_v5_compatibility |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Welcome Email Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲58 | 14.69 ▼0.04 | 1.80 ▼0.04 | 40.93 ▼11.27 |
Dashboard /wp-admin | 2,199 ▲24 | 5.62 ▼0.07 | 90.85 ▼21.70 | 39.49 ▼7.12 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.06 | 37.72 ▼4.28 | 36.14 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.07 ▼0.36 | 680.03 ▼26.48 | 52.68 ▼14.15 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.28 ▲0.05 | 94.78 ▼2.65 | 41.30 ▼0.46 |
Welcome Email Editor /wp-admin/options-general.php?page=weed_settings | 1,292 | 2.01 | 26.20 | 48.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- weed_v5_compatibility
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 31× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/reset-password-email/subject.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/admin-new-user-notif-email/subject.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/user-welcome-email/additional-headers.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/admin-new-user-notif-email/body.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/misc/remove-on-uninstall.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/user-welcome-email/reply-to-name.php
- > /wp-content/plugins/welcome-email-editor/helpers/class-content-helper.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/ajax/class-test-emails.php
- > /wp-content/plugins/welcome-email-editor/modules/settings/templates/fields/user-welcome-email/body.php
- > /wp-content/plugins/welcome-email-editor/modules/base/class-base-output.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Welcome Email Editor Settings Page)
- Tags: You are using too many tags: 11 tag instead of maximum 10
welcome-email-editor/sb_welcome_email_editor.php 92% from 13 tests
The primary PHP file in "Welcome Email Editor" version 5.0.6 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("welcome-email-editor.php" instead of "sb_welcome_email_editor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,824 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 626 | 777 | 1,350 |
CSS | 2 | 96 | 30 | 424 |
JavaScript | 1 | 14 | 15 | 50 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 10 | 13.89% |
▷ Public methods | 72 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 1 | 5.00% |
▷ Anonymous functions | 19 | 95.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/welcome-email-editor-logo.png | 15.07KB | 5.37KB | ▼ 64.35% |