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
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼5.17ms] Passed 4 tests
A check of server-side resources used by MailBluster for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.41 | 40.29 ▼1.97 |
Dashboard /wp-admin | 3.71 ▲0.36 | 53.33 ▼10.51 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 51.80 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 91.18 ▼7.32 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 38.18 ▼0.88 |
API Key /wp-admin/edit.php?post_type=mb4wpform&page=mb4wpform-api | 3.54 | 36.28 |
Forms /wp-admin/edit.php?post_type=mb4wpform | 3.61 | 48.33 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
mb4wp_api_options |
widget_recent-comments |
widget_mb4wp_widget |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for MailBluster for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,971 ▲225 | 14.31 ▼0.35 | 5.27 ▲3.23 | 39.48 ▼1.26 |
Dashboard /wp-admin | 2,291 ▲106 | 5.51 ▼0.35 | 117.41 ▲13.36 | 41.48 ▲0.25 |
Posts /wp-admin/edit.php | 2,158 ▲66 | 2.67 ▲0.65 | 38.46 ▼3.62 | 33.01 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.53 ▲0.10 | 621.03 ▼56.27 | 34.00 ▼23.82 |
Media Library /wp-admin/upload.php | 1,456 ▲65 | 4.84 ▲0.47 | 103.62 ▼0.12 | 43.20 ▼2.04 |
API Key /wp-admin/edit.php?post_type=mb4wpform&page=mb4wpform-api | 894 | 2.37 | 31.91 | 27.31 |
Forms /wp-admin/edit.php?post_type=mb4wpform | 1,171 | 2.56 | 42.77 | 29.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_mb4wp_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mailbluster4wp/admin/class-mailbluster4wp-widget.php
- > /wp-content/plugins/mailbluster4wp/public/partials/mailbluster4wp-public-display.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/mailbluster4wp/admin/partials/form-options/appearance.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/mailbluster4wp/admin/partials/mailbluster4wp-admin-api-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mailbluster4wp/admin/partials/form-options/messages.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mailbluster4wp/admin/partials/form-options/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'MailBluster4WP_Helper' not found in wp-content/plugins/mailbluster4wp/admin/partials/mailbluster4wp-form-option.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/mailbluster4wp/admin/partials/form-options/builder.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/mailbluster4wp/admin/partials/mailbluster4wp-form-description.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/mailbluster4wp/admin/partials/mailbluster4wp-form-admin-shortcode.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mb4wpform
- > Console-api (severe) in unknown
https://cdn.quilljs.com/1.3.6/quill.js?ver=1.3.6 1986:33 "quill" "Invalid Quill container" "#mbq_editor"
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mb4wpform
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'tooltip')" "TypeError: Cannot read properties of undefined (reading 'tooltip')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/mailbluster4wp/admin/js/mailbluster4wp-admin.js?ver=1.2.1:60:33)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mb4wpform
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'tooltip')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #9 (MailBluster form option (Settings).) image required
mailbluster4wp/mailbluster4wp.php 92% from 13 tests
The main PHP script in "MailBluster for WordPress" version 1.2.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 186 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
Everything looks great! No dangerous files found in this plugin3,488 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 420 | 1,162 | 2,361 |
JavaScript | 3 | 56 | 85 | 572 |
CSS | 2 | 28 | 10 | 553 |
SVG | 2 | 1 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 27 | 28.72% |
▷ Public methods | 78 | 82.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 17.02% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected