Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲3.59MB] [CPU: ▲27.18ms] Passed 4 tests
Server-side resources used by Email Marketing and Email Automation for WordPress & WooCommerce – Mail Mint
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.03 ▲3.57 | 67.25 ▲26.80 |
Dashboard /wp-admin | 6.88 ▲3.57 | 73.96 ▲26.21 |
Posts /wp-admin/edit.php | 6.99 ▲3.64 | 75.99 ▲28.67 |
Add New Post /wp-admin/post-new.php | 11.40 ▲5.51 | 137.96 ▲47.74 |
Media Library /wp-admin/upload.php | 6.80 ▲3.57 | 62.88 ▲27.04 |
Dashboard /wp-admin/admin.php?page=mrm-admin | 8.35 | 113.12 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 6.98 | 63.09 |
Automation /wp-admin/admin.php?page=mint-mail-automation-editor | 8.35 | 78.55 |
Server storage [IO: ▲16.83MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 605 new files
Database: 25 new tables, 12 new options
New tables |
---|
wp_mint_campaign_emails_meta |
wp_mint_contact_groups |
wp_mint_forms |
wp_mint_campaigns_meta |
wp_mint_automation_log |
wp_actionscheduler_actions |
wp_mint_automations |
wp_mint_contact_group_relationship |
wp_mint_campaign_emails |
wp_actionscheduler_logs |
... |
New WordPress options |
---|
action_scheduler_hybrid_store_demarkation |
theysaidso_admin_options |
widget_theysaidso_widget |
_mrm_general_preference |
widget_recent-posts |
can_compress_scripts |
mailmint_install_timestamp |
widget_recent-comments |
schema-ActionScheduler_LoggerSchema |
schema-ActionScheduler_StoreSchema |
... |
Browser metrics Passed 4 tests
Email Marketing and Email Automation for WordPress & WooCommerce – Mail Mint: 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 / | 3,074 ▲312 | 13.44 ▼0.81 | 8.14 ▲6.60 | 35.85 ▼9.56 |
Dashboard /wp-admin | 2,378 ▲198 | 5.54 ▼0.12 | 99.01 ▼0.03 | 111.93 ▲68.08 |
Posts /wp-admin/edit.php | 2,227 ▲124 | 2.19 ▲0.25 | 40.50 ▼0.74 | 35.31 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.12 ▼0.08 | 728.50 ▲28.69 | 73.24 ▲12.32 |
Media Library /wp-admin/upload.php | 1,527 ▲136 | 4.27 ▲0.05 | 95.01 ▼6.64 | 43.40 ▼1.56 |
Dashboard /wp-admin/admin.php?page=mrm-admin | 1,759 | 18.53 | 412.41 | 87.92 |
Forms /wp-admin/admin.php?page=mrm-admin#/forms | 1,626 | 14.36 | 235.02 | 97.04 |
Settings /wp-admin/admin.php?page=mrm-admin#/settings/business-info | 2,158 | 14.85 | 231.78 | 95.00 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,354 | 1.87 | 29.40 | 30.08 |
Contacts /wp-admin/admin.php?page=mrm-admin#/contacts | 1,918 | 14.36 | 221.85 | 94.59 |
Campaigns /wp-admin/admin.php?page=mrm-admin#/campaigns | 1,684 | 14.34 | 210.80 | 107.03 |
Automations /wp-admin/admin.php?page=mrm-admin#/automations | 1,585 | 14.47 | 209.68 | 94.00 |
Automation /wp-admin/admin.php?page=mint-mail-automation-editor | 1,237 | 12.28 | 323.54 | 32.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 25 tables in the database
- wp_mint_custom_fields
- wp_mint_contact_meta
- wp_mint_broadcast_email_meta
- wp_mint_broadcast_emails
- wp_mint_contact_groups
- wp_mint_campaign_emails_meta
- wp_mint_contacts
- wp_mint_campaigns
- wp_mint_automation_steps
- wp_actionscheduler_claims
- ...
- The uninstall procedure has failed, leaving 12 options in the database
- widget_recent-comments
- schema-ActionScheduler_StoreSchema
- mailmint_install_timestamp
- can_compress_scripts
- _mrm_general_preference
- widget_recent-posts
- schema-ActionScheduler_LoggerSchema
- action_scheduler_hybrid_store_demarkation
- theysaidso_admin_options
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 219× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Schedule_Deprecated' not found in wp-content/plugins/mail-mint/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.php:6
- > PHP Fatal error
require_once(): Failed opening required 'MRM_DIR_PATHapp/Interfaces/Schema.php' (include_path='.:/usr/share/php') in wp-content/plugins/mail-mint/app/Database/Schemas/Automation/AutomationLog.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Mint\\MRM\\API\\Actions\\ActionCreator' not found in wp-content/plugins/mail-mint/app/API/Actions/Creators/Admin/Contact/ContactImportActionCreator.php:20
- > PHP Fatal error
Uncaught Error: Class 'Mint\\MRM\\Frontend\\API\\Controllers\\FrontendBaseController' not found in wp-content/plugins/mail-mint/app/API/Controllers/Frontend/CookieController.php:22
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/mail-mint/vendor/woocommerce/action-scheduler/lib/cron-expression/CronExpression_HoursField.php:8
- > PHP Fatal error
require_once(): Failed opening required 'MRM_DIR_PATHapp/Interfaces/Schema.php' (include_path='.:/usr/share/php') in wp-content/plugins/mail-mint/app/Database/Schemas/ContactGroupPivot.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Mint\\MRM\\Admin\\API\\Routes\\AdminRoute' not found in wp-content/plugins/mail-mint/app/API/Routes/Admin/Contact/ContactImportRoute.php:24
- > PHP Fatal error
require_once(): Failed opening required 'MRM_DIR_PATHapp/Interfaces/Schema.php' (include_path='.:/usr/share/php') in wp-content/plugins/mail-mint/app/Database/Schemas/Automation/AutomationSteps.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'Mint\\MRM\\API\\Controllers\\BaseController' not found in wp-content/plugins/mail-mint/app/API/Controllers/Frontend/FrontendBaseController.php:20
- > PHP Fatal error
Trait 'Mint\\Mrm\\Internal\\Traits\\Singleton' not found in wp-content/plugins/mail-mint/app/Internal/Shortcodes/Shortcode.php on line 23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
mail-mint/mail-mint.php 92% from 13 tests
The main file in "Email Marketing and Email Automation for WordPress & WooCommerce – Mail Mint" v. 1.6.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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 plugin44,012 lines of code in 416 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 316 | 7,393 | 21,883 | 40,711 |
Sass | 12 | 204 | 62 | 1,466 |
CSS | 11 | 25 | 7 | 641 |
JavaScript | 70 | 67 | 159 | 583 |
Markdown | 3 | 119 | 0 | 345 |
JSON | 3 | 0 | 0 | 171 |
XML | 1 | 6 | 11 | 95 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 334.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 46 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 285 | |
▷ Abstract classes | 26 | 9.12% |
▷ Concrete classes | 259 | 90.88% |
▷ Final classes | 0 | 0.00% |
Methods | 1,928 | |
▷ Static methods | 589 | 30.55% |
▷ Public methods | 1,648 | 85.48% |
▷ Protected methods | 158 | 8.20% |
▷ Private methods | 122 | 6.33% |
Functions | 78 | |
▷ Named functions | 30 | 38.46% |
▷ Anonymous functions | 48 | 61.54% |
Constants | 70 | |
▷ Global constants | 34 | 48.57% |
▷ Class constants | 36 | 51.43% |
▷ Public constants | 34 | 94.44% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
70 compressed PNG files occupy 2.65MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
app/Internal/FormBuilder/templates/img/content_image/envelope2.png | 5.29KB | 5.53KB | 0.00% |
app/Internal/Admin/Email-Templates/images/last-minute-hero-image.png | 163.13KB | 179.73KB | 0.00% |
app/Internal/Admin/Email-Templates/images/marketing-logo.png | 1.82KB | 1.88KB | 0.00% |
app/Internal/FormBuilder/templates/img/subscribe.png | 11.46KB | 5.28KB | ▼ 53.92% |
admin/assets/images/contact-profile.png | 1.06KB | 0.85KB | ▼ 19.45% |