Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.71MB] [CPU: ▼0.01ms] Passed 4 tests
Server-side resources used by Mailing Group Listserv
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.74 | 43.76 ▲3.59 |
Dashboard /wp-admin | 4.07 ▲0.72 | 53.54 ▼6.84 |
Posts /wp-admin/edit.php | 4.12 ▲0.76 | 48.28 ▲1.90 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.70 | 93.82 ▲1.29 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 42.36 ▲9.81 |
Troubleshooting /wp-admin/admin.php?page=wpmg_mailinggroup_testmail | 4.00 | 386.80 |
Messages Editor /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessagelist | 3.94 | 36.16 |
Add Admin Message /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessageadd | 3.94 | 28.61 |
Mailing Groups /wp-admin/admin.php?page=wpmg_mailinggroup_list | 3.92 | 34.27 |
General Settings /wp-admin/admin.php?page=wpmg_mailinggroup_intro | 3.94 | 32.82 |
Help /wp-admin/admin.php?page=wpmg_mailinggroup_help | 3.91 | 34.66 |
Subscription Requests /wp-admin/admin.php?page=wpmg_mailinggroup_requestmanagerlist | 4.02 | 34.68 |
Add Mailing Group /wp-admin/admin.php?page=wpmg_mailinggroup_add | 4.18 | 35.43 |
Member Manager /wp-admin/admin.php?page=wpmg_mailinggroup_memberlist | 3.94 | 32.41 |
Add Message /wp-admin/admin.php?page=wpmg_mailinggroup_messageadd | 3.94 | 34.44 |
Server storage [IO: ▲1.61MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 86 new files
Database: 8 new tables, 7 new options
New tables |
---|
wp_mailing_group_sent_emails |
wp_mailing_group_taxonomy |
wp_mailing_group_messages |
wp_mailing_group_user_taxonomy |
wp_mailing_group_attachments |
wp_mailing_group_requestmanager |
wp_mailing_group_parsed_emails |
wp_mailing_group |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
WPMG_SETTINGS |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Mailing Group Listserv
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 14.77 ▲0.15 | 1.79 ▲0.16 | 44.76 ▲4.17 |
Dashboard /wp-admin | 2,247 ▲66 | 4.92 ▼0.74 | 102.86 ▲5.67 | 41.89 ▼0.48 |
Posts /wp-admin/edit.php | 2,149 ▲52 | 2.51 ▲0.57 | 34.15 ▼0.05 | 30.43 ▼6.67 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 18.41 ▼4.48 | 602.52 ▲9.60 | 68.70 ▲11.49 |
Media Library /wp-admin/upload.php | 1,449 ▲49 | 4.39 ▲0.25 | 102.02 ▲3.23 | 41.58 ▼1.83 |
Troubleshooting /wp-admin/admin.php?page=wpmg_mailinggroup_testmail | 1,275 | 1.99 | 27.99 | 45.57 |
Messages Editor /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessagelist | 981 | 2.10 | 27.03 | 25.02 |
Add Admin Message /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessageadd | 956 | 1.83 | 25.85 | 25.06 |
Mailing Groups /wp-admin/admin.php?page=wpmg_mailinggroup_list | 895 | 2.09 | 26.70 | 25.62 |
General Settings /wp-admin/admin.php?page=wpmg_mailinggroup_intro | 992 | 1.83 | 24.15 | 42.61 |
Help /wp-admin/admin.php?page=wpmg_mailinggroup_help | 1,019 | 1.86 | 24.45 | 29.16 |
Subscription Requests /wp-admin/admin.php?page=wpmg_mailinggroup_requestmanagerlist | 967 | 2.00 | 25.00 | 25.13 |
Add Mailing Group /wp-admin/admin.php?page=wpmg_mailinggroup_add | 1,420 | 2.03 | 27.05 | 39.06 |
Member Manager /wp-admin/admin.php?page=wpmg_mailinggroup_memberlist | 1,584 | 2.94 | 32.07 | 30.42 |
Add Message /wp-admin/admin.php?page=wpmg_mailinggroup_messageadd | 968 | 1.97 | 26.44 | 26.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 8 tables in the database
- wp_mailing_group_sent_emails
- wp_mailing_group_user_taxonomy
- wp_mailing_group_attachments
- wp_mailing_group_requestmanager
- wp_mailing_group_messages
- wp_mailing_group_taxonomy
- wp_mailing_group_parsed_emails
- wp_mailing_group
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- WPMG_SETTINGS
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessageadd
- > Notice in wp-content/plugins/wp-mailing-group/template/mg_adminmessageadd.php+71
Undefined index: title
- > GET request to /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessageadd
- > Notice in wp-content/plugins/wp-mailing-group/template/mg_adminmessageadd.php+73
Undefined index: message_subject
- > GET request to /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessageadd
- > Notice in wp-content/plugins/wp-mailing-group/template/mg_adminmessageadd.php+75
Undefined index: description
- > GET request to /wp-admin/admin.php?page=wpmg_mailinggroup_adminmessageadd
- > Notice in wp-content/plugins/wp-mailing-group/template/mg_adminmessageadd.php+77
Undefined index: status
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-mailing-group/crons/wpmg_cron_bounced_email.php
- > /wp-content/plugins/wp-mailing-group/lib/captcha.php
- > /wp-content/plugins/wp-mailing-group/mailing-group-module.php
- > /wp-content/plugins/wp-mailing-group/crons/wpmg_cron_send_email.php
- > /wp-content/plugins/wp-mailing-group/crons/wpmg_cron_parse_email.php
- > /wp-content/plugins/wp-mailing-group/crons/wpmg_cron_attachments.php
- 27× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_adminmessageadd.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_importuser.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-mailing-group/template/mg_viewmessage.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_intro_text.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_user_form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_adminmessagelist.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-mailing-group/template/mg_viewmessageajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_messageadd.php:5
- > PHP Warning
Use of undefined constant WPMG_PLUGIN_PATH - assumed 'WPMG_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-mailing-group/template/mg_imapemailconnection.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-mailing-group/template/mg_formstyle.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #5 (Screenshot-5.png - Shows a focus of add a mailing group screen.), #6 (Screenshot-6.png - Group email footer is fully customizeable.)
wp-mailing-group/mailing-group-module.php 85% from 13 tests
The main PHP file in "Mailing Group Listserv" ver. 2.0.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 348 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-mailing-group.php" instead of "mailing-group-module.php")
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 detected11,791 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 4,963 | 1,424 | 7,282 |
CSS | 2 | 1,125 | 83 | 2,273 |
PO File | 3 | 835 | 20 | 1,731 |
JavaScript | 4 | 1,176 | 352 | 505 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 57.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 251.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 3 | 2.33% |
▷ Public methods | 113 | 87.60% |
▷ Protected methods | 5 | 3.88% |
▷ Private methods | 11 | 8.53% |
Functions | 69 | |
▷ Named functions | 69 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
37 PNG files occupy 0.70MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/forward_enabled.png | 3.01KB | 0.49KB | ▼ 83.56% |
screenshot-2.png | 105.38KB | 38.75KB | ▼ 63.22% |
images/sort_asc_disabled.png | 2.84KB | 0.25KB | ▼ 91.35% |
screenshot-1.png | 201.28KB | 70.20KB | ▼ 65.12% |
images/import.png | 14.37KB | 0.36KB | ▼ 97.51% |