Benchmarks
Plugin footprint 83% 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.21MB] [CPU: ▼8.36ms] Passed 4 tests
This is a short check of server-side resources used by Boldermail – Email Marketing and Newsletters for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 43.85 ▼3.12 |
Dashboard /wp-admin | 3.70 ▲0.39 | 52.10 ▼0.89 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 56.31 ▲6.51 |
Add New Post /wp-admin/post-new.php | 5.61 ▼0.27 | 64.05 ▼35.09 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 43.08 ▲5.67 |
Templates /wp-admin/edit.php?post_type=bm_template | 4.41 | 100.61 |
RSS Campaigns /wp-admin/edit.php?post_type=bm_newsletter_rss | 3.71 | 51.08 |
Subscribers /wp-admin/edit.php?post_type=bm_subscriber | 3.71 | 49.24 |
Add New /wp-admin/post-new.php?post_type=bm_newsletter | 3.78 | 74.69 |
Newsletters /wp-admin/edit.php?post_type=bm_newsletter | 3.71 | 48.98 |
Settings /wp-admin/edit.php?post_type=bm_newsletter&page=boldermail-settings | 3.59 | 47.12 |
Automations /wp-admin/edit.php?post_type=bm_autoresponder | 3.70 | 47.12 |
Lists /wp-admin/edit.php?post_type=bm_list | 3.70 | 49.90 |
Server storage [IO: ▲7.33MB] [DB: ▲0.45MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 922 new files
Database: no new tables, 10 new options
New WordPress options |
---|
boldermail_active_version |
boldermail_previous_version |
boldermail_queue_flush_rewrite_rules |
widget_theysaidso_widget |
boldermail_siteurl |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Boldermail – Email Marketing and Newsletters for WordPress: 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 / | 2,892 ▲121 | 14.80 ▲0.61 | 3.16 ▲0.98 | 42.16 ▼1.83 |
Dashboard /wp-admin | 2,308 ▲120 | 6.50 ▲1.53 | 121.44 ▲10.67 | 40.52 ▲3.63 |
Posts /wp-admin/edit.php | 2,204 ▲115 | 3.43 ▲1.44 | 57.83 ▲21.27 | 35.56 ▲3.17 |
Add New Post /wp-admin/post-new.php | 1,596 ▲61 | 19.34 ▼3.83 | 672.76 ▼18.05 | 36.27 ▼25.25 |
Media Library /wp-admin/upload.php | 1,743 ▲355 | 4.99 ▲0.78 | 121.78 ▲5.23 | 43.21 ▼6.61 |
Templates /wp-admin/edit.php?post_type=bm_template | 2,701 | 3.45 | 59.73 | 36.21 |
RSS Campaigns /wp-admin/edit.php?post_type=bm_newsletter_rss | 1,222 | 3.37 | 53.73 | 46.49 |
Subscribers /wp-admin/edit.php?post_type=bm_subscriber | 1,192 | 3.36 | 45.97 | 34.00 |
Add New /wp-admin/post-new.php?post_type=bm_newsletter | 2,101 | 4.39 | 90.55 | 106.38 |
Newsletters /wp-admin/edit.php?post_type=bm_newsletter | 1,250 | 3.40 | 49.35 | 31.70 |
Settings /wp-admin/edit.php?post_type=bm_newsletter&page=boldermail-settings | 993 | 3.28 | 41.12 | 27.71 |
Automations /wp-admin/edit.php?post_type=bm_autoresponder | 1,182 | 3.46 | 46.36 | 30.40 |
Lists /wp-admin/edit.php?post_type=bm_list | 1,276 | 3.38 | 48.35 | 32.28 |
Uninstaller [IO: ▲1.11MB] [DB: ▲0.45MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 9 options in the database
- boldermail_previous_version
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- boldermail_active_version
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- boldermail_siteurl
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 items
- 8× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-one-column-full-width.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-simple-text.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-one-column.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-one-column-rss.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-one-column-logo.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-one-column-full-width-rss.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-one-column-permalink-logo.php
- > /wp-content/plugins/boldermail/partials/template/html-boldermail-template-simple-text-rss.php
- 88× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\CssSelector\\Parser\\ParserInterface' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Parser/Shortcut/EmptyStringParser.php:32
- > PHP Fatal error
Uncaught Error: Class 'Cron\\AbstractField' not found in wp-content/plugins/boldermail/includes/plugins/cron-expression/mtdowling/cron-expression/src/Cron/MonthField.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Parser/Handler/NumberHandler.php:29
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Tests/Node/AbstractNodeTest.php:17
- > PHP Fatal error
Uncaught Error: Class 'Pelago\\Emogrifier\\HtmlProcessor\\AbstractHtmlProcessor' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/pelago/emogrifier/src/Emogrifier/CssInliner.php:24
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Tests/Parser/ParserTest.php:21
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\CssSelector\ode\\AbstractNode' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Node/CombinedSelectorNode.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Parser/Handler/WhitespaceHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Tests/Parser/Handler/AbstractHandlerTest.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\CssSelector\\Exception\\ParseException' not found in wp-content/plugins/boldermail/includes/plugins/emogrifier/symfony/css-selector/Exception/ExpressionErrorException.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: email automation, email marketing, marketing automation, newsletter, email
boldermail/boldermail.php 85% from 13 tests
This is the main PHP file of "Boldermail – Email Marketing and Newsletters for WordPress" version 2.3.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 180 characters long)
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 detected51,493 lines of code in 487 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 240 | 7,531 | 13,025 | 29,996 |
JavaScript | 162 | 953 | 1,193 | 15,938 |
CSS | 7 | 420 | 133 | 2,544 |
Markdown | 10 | 255 | 0 | 1,101 |
HTML | 24 | 77 | 0 | 824 |
JSON | 28 | 0 | 0 | 641 |
Sass | 12 | 73 | 69 | 393 |
XML | 3 | 3 | 1 | 46 |
YAML | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 182 | |
▷ Abstract classes | 10 | 5.49% |
▷ Concrete classes | 172 | 94.51% |
▷ Final classes | 3 | 1.74% |
Methods | 1,347 | |
▷ Static methods | 241 | 17.89% |
▷ Public methods | 1,086 | 80.62% |
▷ Protected methods | 87 | 6.46% |
▷ Private methods | 174 | 12.92% |
Functions | 113 | |
▷ Named functions | 94 | 83.19% |
▷ Anonymous functions | 19 | 16.81% |
Constants | 54 | |
▷ Global constants | 9 | 16.67% |
▷ Class constants | 45 | 83.33% |
▷ Public constants | 45 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
378 PNG files occupy 0.52MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/social/outline-dark-dribbble-48.png | 0.83KB | 0.62KB | ▼ 25.62% |
assets/images/social/light-twitter-48.png | 0.88KB | 0.49KB | ▼ 43.94% |
assets/images/social/outline-gray-dribbble-48.png | 1.25KB | 0.62KB | ▼ 50.39% |
assets/images/social/outline-gray-vimeo-96.png | 2.05KB | 1.05KB | ▼ 48.52% |
assets/images/social/outline-light-houzz-48.png | 0.72KB | 0.50KB | ▼ 30.07% |