Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/bh-dashboard-menus-settings/plugin-main.php+512
Undefined variable: bh_bh_wordpress_dashboard_rename_settings
Server metrics [RAM: ▼1.79MB] [CPU: ▼51.59ms] Passed 4 tests
A check of server-side resources used by BH Dashboard Menus Settings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.26 | 4.91 ▼36.84 |
Dashboard /wp-admin | 2.22 ▼1.09 | 6.54 ▼42.79 |
Posts /wp-admin/edit.php | 2.22 ▼1.14 | 6.44 ▼40.64 |
Add New Post /wp-admin/post-new.php | 2.22 ▼3.67 | 6.25 ▼86.08 |
Media Library /wp-admin/upload.php | 2.22 ▼1.01 | 5.17 ▼27.03 |
BH WordPress Dashboard Menus Settings /wp-admin/options-general.php?page=bh_wp_dashboard_menus_settings | 2.22 | 6.09 |
Privacy /wp-admin/options-general.php?page= | 2.22 | 6.98 |
Link Categories /wp-admin/link-manager.php?page= | 2.23 | 5.41 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by BH Dashboard Menus Settings
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,787 ▲30 | 13.30 ▼1.08 | 1.68 ▼0.35 | 43.63 ▼4.72 |
Dashboard /wp-admin | 2,193 ▲2 | 5.89 ▲0.99 | 103.45 ▼17.02 | 39.41 ▼4.91 |
Posts /wp-admin/edit.php | 2,076 ▼13 | 2.03 ▼0.02 | 34.91 ▼3.11 | 36.00 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.32 ▲0.15 | 642.93 ▼23.48 | 53.86 ▲1.90 |
Media Library /wp-admin/upload.php | 1,378 ▼4 | 4.18 ▼0.02 | 100.99 ▼5.36 | 42.04 ▼1.40 |
BH WordPress Dashboard Menus Settings /wp-admin/options-general.php?page=bh_wp_dashboard_menus_settings | 1,556 | 2.06 | 23.12 | 35.07 |
Privacy /wp-admin/options-general.php?page= | 28 | 0.44 | 0.09 | 3.69 |
Link Categories /wp-admin/link-manager.php?page= | 31 | 0.44 | 0.06 | 3.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/bh-dashboard-menus-settings/plugin-main.php+512
Undefined variable: bh_bh_wordpress_dashboard_rename_settings
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php?page=
- > Notice in wp-content/plugins/bh-dashboard-menus-settings/plugin-main.php+512
Undefined variable: bh_bh_wordpress_dashboard_rename_settings
- > GET request to /wp-admin/options-general.php?page=bh_wp_dashboard_menus_settings
- > Notice in wp-admin/menu-header.php+202
Undefined offset: 1
- 16 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php?page=
- > Notice in wp-admin/includes/plugin.php+1946
Undefined offset: 2
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bh-dashboard-menus-settings/plugin-main.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=
- > Network (severe)
wp-admin/options-general.php?page= - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/link-manager.php?page=
- > Network (severe)
wp-admin/link-manager.php?page= - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.jpg), #2 (screenshot-2.jpg), #3 (screenshot-3.jpg), #4 (screenshot-4.jpg)
bh-dashboard-menus-settings/plugin-main.php 92% from 13 tests
"BH Dashboard Menus Settings" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bh-dashboard-menus-settings.php" instead of "plugin-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin467 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 81 | 16 | 467 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin