Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼2.89ms] Passed 4 tests
Analyzing server-side resources used by Advanced Sidebar Menu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.54 | 42.66 ▲0.66 |
Dashboard /wp-admin | 3.82 ▲0.47 | 54.69 ▼6.36 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 52.15 ▲7.26 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 85.71 ▼6.75 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 35.61 ▲0.91 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_advanced_sidebar_menu_category |
widget_advanced_sidebar_menu |
can_compress_scripts |
Browser metrics Passed 4 tests
Advanced Sidebar Menu: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.77 ▲0.42 | 1.75 ▼0.01 | 43.16 ▼0.50 |
Dashboard /wp-admin | 2,202 ▲22 | 5.71 ▲0.04 | 97.19 ▲8.77 | 45.29 ▲7.17 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.06 ▲0.06 | 40.59 ▲5.98 | 34.59 ▼1.55 |
Add New Post /wp-admin/post-new.php | 6,201 ▲4,675 | 26.32 ▲3.28 | 833.98 ▲100.40 | 65.23 ▲10.17 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.25 ▼0.03 | 116.12 ▲19.72 | 47.48 ▲6.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- widget_advanced_sidebar_menu_category
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_advanced_sidebar_menu
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Trait 'Advanced_Sidebar_Menu\\Traits\\Singleton' not found in wp-content/plugins/advanced-sidebar-menu/src/Scripts.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'Advanced_Sidebar_Menu\\Widget\\Widget_Abstract' not found in wp-content/plugins/advanced-sidebar-menu/src/Widget/Category.php:14
- > PHP Fatal error
Uncaught Error: Class 'Advanced_Sidebar_Menu\\Menus\\Page' not found in wp-content/plugins/advanced-sidebar-menu/views/page_list.php:17
- > PHP Fatal error
Trait 'Advanced_Sidebar_Menu\\Traits\\Singleton' not found in wp-content/plugins/advanced-sidebar-menu/src/Cache.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Advanced_Sidebar_Menu\\Menus\\Category' not found in wp-content/plugins/advanced-sidebar-menu/views/category_list.php:16
- > PHP Fatal error
Uncaught Error: Class 'Advanced_Sidebar_Menu\\Blocks\\Block_Abstract' not found in wp-content/plugins/advanced-sidebar-menu/src/Blocks/Categories.php:13
- > PHP Fatal error
Trait 'Advanced_Sidebar_Menu\\Traits\\Singleton' not found in wp-content/plugins/advanced-sidebar-menu/src/Debug.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/advanced-sidebar-menu/advanced-sidebar-menu.php:24
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/advanced-sidebar-menu/src/Widget/Widget_Abstract.php:11
- > PHP Fatal error
Uncaught Error: Class 'Advanced_Sidebar_Menu\\Menus\\Menu_Abstract' not found in wp-content/plugins/advanced-sidebar-menu/src/Menus/Category.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
advanced-sidebar-menu/advanced-sidebar-menu.php Passed 13 tests
The primary PHP file in "Advanced Sidebar Menu" version 9.4.1 is used by WordPress to initiate all plugin functionality
85 characters long description:
Creates dynamic menus based on parent/child relationship of your pages or categories.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin9,345 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 2,143 | 1,948 | 6,234 |
PHP | 23 | 573 | 1,618 | 2,036 |
CSS | 4 | 2 | 35 | 545 |
PO File | 3 | 183 | 345 | 464 |
JSON | 6 | 0 | 0 | 66 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 18 | |
▷ Abstract classes | 3 | 16.67% |
▷ Concrete classes | 15 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 160 | |
▷ Static methods | 8 | 5.00% |
▷ Public methods | 133 | 83.12% |
▷ Protected methods | 27 | 16.88% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 2 | 25.00% |
▷ Anonymous functions | 6 | 75.00% |
Constants | 53 | |
▷ Global constants | 4 | 7.55% |
▷ Class constants | 49 | 92.45% |
▷ Public constants | 49 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin