Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲2.54ms] Passed 4 tests
This is a short check of server-side resources used by WP Bottom Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 50.42 ▲4.72 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.73 ▼1.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.07 ▲4.96 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 94.10 ▲6.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.27 ▲2.37 |
WP Bottom Menu /wp-admin/options-general.php?page=wp-bottom-menu | 3.19 | 29.69 |
Server storage [IO: ▲2.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Bottom Menu: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲228 | 13.24 ▼1.13 | 2.26 ▲0.33 | 47.23 ▼1.01 |
Dashboard /wp-admin | 2,256 ▲71 | 5.77 ▲0.88 | 96.29 ▼14.14 | 40.83 ▼6.10 |
Posts /wp-admin/edit.php | 2,142 ▲56 | 2.10 ▲0.10 | 39.71 ▲3.84 | 34.20 ▲3.15 |
Add New Post /wp-admin/post-new.php | 1,576 ▲55 | 23.33 ▲0.30 | 647.75 ▼27.78 | 66.91 ▲12.20 |
Media Library /wp-admin/upload.php | 1,444 ▲53 | 4.27 ▲0.04 | 109.03 ▲9.07 | 50.19 ▲6.62 |
WP Bottom Menu /wp-admin/options-general.php?page=wp-bottom-menu | 789 | 2.05 | 22.61 | 25.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-bottom-menu
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-bottom-menu/inc/customizer/customizer-repeater/inc/icons.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant WP_BOTTOM_MENU_DIR_PATH - assumed 'WP_BOTTOM_MENU_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-bottom-menu/inc/customizer/customizer-repeater/functions.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-bottom-menu/inc/customizer/customizer-repeater/inc/customizer.php:7
- > PHP Fatal error
require(): Failed opening required 'WP_BOTTOM_MENU_DIR_PATHinc/customizer/customizer-repeater/inc/customizer.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-bottom-menu/inc/customizer/customizer-repeater/functions.php on line 4
- > PHP Warning
require(WP_BOTTOM_MENU_DIR_PATHinc/customizer/customizer-repeater/inc/customizer.php): failed to open stream: No such file or directory in wp-content/plugins/wp-bottom-menu/inc/customizer/customizer-repeater/functions.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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 important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
wp-bottom-menu/wp-bottom-menu.php 92% from 13 tests
This is the main PHP file of "WP Bottom Menu" version 2.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected7,415 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 59 | 20 | 2,673 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 8 | 252 | 177 | 1,543 |
JavaScript | 6 | 118 | 65 | 528 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 50.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 10.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 28 | |
▷ Static methods | 5 | 17.86% |
▷ Public methods | 21 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 25.00% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin