Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Error in wp-content/plugins/mindbody-access-management/src/Core/Activator.php+33
Uncaught Error: Class 'MZoo\MzMindbody\Common\TokenManagement' not found in wp-content/plugins/mindbody-access-management/src/Core/Activator.php:33
Stack trace:
#0 wp-includes/class-wp-hook.php(310): MZoo\MzMboAccess\Core\Activator::activate()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.18ms] Passed 4 tests
Server-side resources used by MZ MBO Access
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.57 ▼9.94 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.52 ▼7.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.21 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.16 ▼12.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.04 ▲3.28 |
Server storage [IO: ▲17.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 879 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for MZ MBO Access
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.24 ▼1.06 | 2.02 ▲0.15 | 42.30 ▼2.21 |
Dashboard /wp-admin | 2,206 ▲18 | 4.88 ▼0.25 | 109.52 ▼8.32 | 38.28 ▼8.53 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▲0.03 | 39.38 ▲3.44 | 35.75 ▲2.48 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.50 ▲0.31 | 595.97 ▼56.17 | 50.31 ▼7.81 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.03 | 93.55 ▼0.26 | 41.16 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mindbody-access-management/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/mindbody-access-management/src/Mozart/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 375× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/mindbody-access-management/vendor/htmlburger/carbon-fields/core/Field/Footer_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mindbody-access-management/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/mindbody-access-management/src/Mozart/htmlburger/carbon-fields/core/Field/Broken_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/mindbody-access-management/vendor/htmlburger/carbon-fields/core/Service/REST_API_Service.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\User_Capability_Condition' not found in wp-content/plugins/mindbody-access-management/src/Mozart/htmlburger/carbon-fields/core/Container/Condition/Current_User_Capability_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mindbody-access-management/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mindbody-access-management/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mindbody-access-management/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/mindbody-access-management/src/Mozart/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/mindbody-access-management/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Screenshot #7 (Access Granted.) image missing
- Screenshots: No descriptions were found for these screenshots #10, #9 in mindbody-access-management/assets to your readme.txt
mindbody-access-management/mz-mbo-access.php 77% from 13 tests
"MZ MBO Access" version 2.1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Git Repository: A Git repository was detected inside this plugin
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("mindbody-access-management.php" instead of "mz-mbo-access.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected40,267 lines of code in 636 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 338 | 4,680 | 12,645 | 17,825 |
JavaScript | 172 | 5,248 | 8,523 | 13,244 |
PO File | 27 | 932 | 1,181 | 2,500 |
Markdown | 22 | 774 | 0 | 2,090 |
Sass | 48 | 339 | 0 | 1,769 |
CSS | 7 | 325 | 1,139 | 1,662 |
JSON | 9 | 0 | 0 | 865 |
YAML | 5 | 41 | 3 | 160 |
XML | 6 | 11 | 3 | 123 |
make | 1 | 9 | 4 | 26 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 46 | |
Interfaces | 12 | |
Traits | 0 | |
Classes | 423 | |
▷ Abstract classes | 28 | 6.62% |
▷ Concrete classes | 395 | 93.38% |
▷ Final classes | 16 | 4.05% |
Methods | 2,333 | |
▷ Static methods | 319 | 13.67% |
▷ Public methods | 1,880 | 80.58% |
▷ Protected methods | 394 | 16.89% |
▷ Private methods | 59 | 2.53% |
Functions | 312 | |
▷ Named functions | 94 | 30.13% |
▷ Anonymous functions | 218 | 69.87% |
Constants | 126 | |
▷ Global constants | 20 | 15.87% |
▷ Class constants | 106 | 84.13% |
▷ Public constants | 106 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin