Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.84MB] [CPU: ▼61.01ms] Passed 4 tests
This is a short check of server-side resources used by bootstrap main menu responsive
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.89 ▼35.82 |
Dashboard /wp-admin | 2.17 ▼1.14 | 7.49 ▼50.24 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.99 ▼43.98 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.99 ▼113.98 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.26 ▼33.33 |
bootstrap_M_menu /wp-admin/options-general.php?page=bootstrap_main_menu_list_option | 2.17 | 5.87 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
bootstrap_main_menu_option |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for bootstrap main menu responsive
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲148 | 13.56 ▼0.82 | 12.95 ▲11.01 | 53.17 ▲10.65 |
Dashboard /wp-admin | 2,199 ▲19 | 5.60 ▲0.03 | 85.09 ▼11.73 | 40.28 ▼5.27 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.01 | 33.66 ▼5.94 | 33.03 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,530 ▼8 | 23.17 ▲0.22 | 607.29 ▼64.59 | 58.10 ▼10.69 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▲0.10 | 101.77 ▼23.87 | 47.19 ▼0.79 |
bootstrap_M_menu /wp-admin/options-general.php?page=bootstrap_main_menu_list_option | 1,197 | 3.24 | 43.47 | 28.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+67
Undefined index: menu_name_option_bmmj
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+219
Undefined index: menu_name_option_bmmj
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+234
Undefined index: menu_appareance_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+287
Undefined index: menu_register_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+282
Undefined index: menu_login_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+292
Undefined index: menu_search_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+297
Undefined index: menu_sitename_option_bmmj
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+257
Undefined index: logo_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+277
Undefined index: logo_show_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+266
Undefined index: logo_height_option_bmmj
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bootstrap_main_menu_list_option
- > Notice in wp-content/plugins/bootstrap-main-menu-responsive/Class_Install_BootstrapJarim.php+263
Undefined index: logo_width_option_bmmj
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bootstrap-main-menu-responsive/index.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
bootstrap-main-menu-responsive/index.php 92% from 13 tests
The main file in "bootstrap main menu responsive" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bootstrap-main-menu-responsive.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin857 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 217 | 130 | 511 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 3 | 31 | 32 | 50 |
CSS | 2 | 4 | 159 | 8 |
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.27 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.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