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 gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼139.80ms] Passed 4 tests
Analyzing server-side resources used by MailPoet bbPress Add-on
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 42.05 ▲17.46 |
Dashboard /wp-admin | 3.15 ▲0.10 | 53.09 ▲11.09 |
Posts /wp-admin/edit.php | 3.27 ▲0.16 | 43.60 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 96.32 ▼584.50 |
Media Library /wp-admin/upload.php | 3.10 ▲0.10 | 47.76 ▲13.11 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 1 new option
New WordPress options |
---|
mailpoet_bbpress_addon_version |
Browser metrics Passed 4 tests
A check of browser resources used by MailPoet bbPress Add-on
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,737 ▲141 | 15.91 ▲0.32 | 11.13 ▲3.08 | 53.27 ▲1.46 |
Dashboard /wp-admin | 3,003 ▲69 | 5.87 ▼0.14 | 142.06 ▼10.94 | 115.08 ▼12.51 |
Posts /wp-admin/edit.php | 2,766 ▲27 | 2.82 ▲0.13 | 73.55 ▲3.88 | 98.88 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,601 ▼82 | 16.35 ▼2.32 | 440.11 ▲37.75 | 116.88 ▼5.84 |
Media Library /wp-admin/upload.php | 1,837 ▲30 | 5.01 ▼0.00 | 177.48 ▲18.63 | 126.62 ▼1.13 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- mailpoet_bbpress_addon_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Registration page created with the shortcode [bbp-register], a checkbox field is added allowing the user to subscribe to the newsletter/s you select when they register.), #2 (General Settings, enable the checkbox to appear on the checkout page along with the label of your choosing.), #3 (MailPoet Lists, select the lists the customer will be subscribed to.)
mailpoet-bbpress-add-on/mailpoet-bbpress-addon.php 85% from 13 tests
Analyzing the main PHP file in "MailPoet bbPress Add-on" version 1.0.0
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: The principal plugin file should be the same as the plugin slug ("mailpoet-bbpress-add-on.php" instead of "mailpoet-bbpress-addon.php")
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
There were no executable files found in this plugin669 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 191 | 460 | 592 |
PO File | 1 | 21 | 22 | 73 |
CSS | 1 | 1 | 6 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 33 | |
▷ Static methods | 4 | 12.12% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 8 | 80.00% |
▷ Class constants | 2 | 20.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin