Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.90ms] 75% from 4 tests
This is a short check of server-side resources used by MailMunch - Grow your Email List
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 730.84ms on /wp-admin/post-new.php?post_type=mailmunch_page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.16 ▲0.10 |
Dashboard /wp-admin | 3.39 ▲0.05 | 44.84 ▼14.68 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 49.42 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.08 ▼18.35 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.63 ▲4.96 |
Autoresponders /wp-admin/admin.php?page=mailmunch-autoresponders | 3.32 | 2,706.37 |
MailMunch /wp-admin/options-general.php?page=mailmunch | 3.35 | 856.55 |
Settings /wp-admin/admin.php?page=mailmunch-settings | 3.33 | 612.89 |
Forms /wp-admin/admin.php?page=mailmunch | 3.35 | 889.86 |
Add New Page /wp-admin/post-new.php?post_type=mailmunch_page | 3.39 | 730.84 |
Landing Pages /wp-admin/edit.php?post_type=mailmunch_page | 3.37 | 38.57 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 11 new options
New WordPress options |
---|
mailmunch_activation_date |
mailmunch_site_id |
widget_recent-posts |
mailmunch_user_token |
widget_recent-comments |
mailmunch_activation_redirect |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_mailmunch_widget |
db_upgraded |
... |
Browser metrics Passed 4 tests
MailMunch - Grow your Email List: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,083 ▲322 | 13.65 ▼0.70 | 15.97 ▲14.26 | 31.66 ▼11.44 |
Dashboard /wp-admin | 2,322 ▲147 | 5.75 ▲0.03 | 85.15 ▼19.21 | 90.64 ▲47.37 |
Posts /wp-admin/edit.php | 2,174 ▲77 | 2.03 ▲0.09 | 40.58 ▲4.15 | 37.77 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,742 ▲205 | 22.21 ▲4.00 | 770.65 ▲150.29 | 59.25 ▲1.57 |
Media Library /wp-admin/upload.php | 1,474 ▲74 | 4.25 ▲0.07 | 100.98 ▼6.65 | 77.35 ▲34.21 |
Autoresponders /wp-admin/admin.php?page=mailmunch-autoresponders | 1,955 | 7.10 | 292.06 | 30.96 |
MailMunch /wp-admin/options-general.php?page=mailmunch | 2,236 | 8.14 | 255.80 | 26.43 |
Settings /wp-admin/admin.php?page=mailmunch-settings | 984 | 1.65 | 25.92 | 25.59 |
Forms /wp-admin/admin.php?page=mailmunch | 2,229 | 8.01 | 170.62 | 26.99 |
Add New Page /wp-admin/post-new.php?post_type=mailmunch_page | 1,575 | 2.56 | 46.16 | 62.35 |
Landing Pages /wp-admin/edit.php?post_type=mailmunch_page | 1,159 | 1.94 | 35.19 | 30.36 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_mailmunch_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=mailmunch_page
- > Notice in wp-content/plugins/mailmunch/includes/class-mailmunch-post-type.php+91
Undefined offset: 0
- > GET request to /wp-admin/post-new.php?post_type=mailmunch_page
- > Notice in wp-content/plugins/mailmunch/includes/class-mailmunch-post-type.php+91
Trying to get property 'id' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mailmunch/public/partials/mailmunch-public-display.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_query_arg() in wp-content/plugins/mailmunch/admin/partials/mailmunch-admin-display.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mailmunch/public/mailmunch-landing-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/mailmunch/admin/partials/mailmunch-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/mailmunch/admin/partials/mailmunch-modals.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mailmunch/includes/class-mailmunch-sidebar-widget.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/mailmunch/admin/partials/mailmunch-autoresponders.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mailmunch/admin/partials/mailmunch-tabs.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=mailmunch-autoresponders
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mailmunch-autoresponders 202:34 Uncaught ReferenceError: currentUser is not defined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mailmunch
- > Console-api (warning) in unknown
https://static.hotjar.com/c/hotjar-1291326.js?sv=7 2:6897 "Hotjar not launching due to suspicious userAgent:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/118.0.5993.117 Safari/537.36"
- > GET request to /wp-admin/options-general.php?page=mailmunch
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=mailmunch 204:34 Uncaught ReferenceError: currentUser is not defined
- > GET request to /wp-admin/options-general.php?page=mailmunch
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=mailmunch 467:0 Uncaught ReferenceError: zE is not defined
- > GET request to /wp-admin/admin.php?page=mailmunch
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mailmunch 204:34 Uncaught ReferenceError: currentUser is not defined
- > GET request to /wp-admin/admin.php?page=mailmunch
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mailmunch 467:0 Uncaught ReferenceError: zE is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (44 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mailmunch/mailmunch.php 92% from 13 tests
The main PHP file in "MailMunch - Grow your Email List" ver. 3.1.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,965 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 312 | 751 | 1,302 |
CSS | 1 | 69 | 2 | 455 |
JavaScript | 1 | 27 | 28 | 208 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 2 | 1.92% |
▷ Public methods | 98 | 94.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 5.77% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/check.png | 1.64KB | 1.53KB | ▼ 6.95% |
admin/img/logo.png | 5.75KB | 2.58KB | ▼ 55.24% |
admin/img/icon.png | 1.59KB | 0.92KB | ▼ 41.72% |
admin/img/warning.png | 5.31KB | 1.95KB | ▼ 63.30% |
admin/img/close.png | 0.26KB | 0.27KB | 0.00% |