Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wpb-floating-menu-or-categories/admin/category-icon.php+11
Undefined index: taxonomy
Server metrics [RAM: ▼1.75MB] [CPU: ▼53.81ms] Passed 4 tests
This is a short check of server-side resources used by WPB Floating Menu or Categories - Sticky Floating Side Menu & Categories with Icons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.22 | 5.52 ▼37.86 |
Dashboard /wp-admin | 2.26 ▼1.04 | 7.69 ▼42.28 |
Posts /wp-admin/edit.php | 2.26 ▼1.10 | 8.26 ▼41.77 |
Add New Post /wp-admin/post-new.php | 2.26 ▼3.63 | 7.94 ▼93.31 |
Media Library /wp-admin/upload.php | 2.26 ▼0.97 | 9.34 ▼26.87 |
Floating Menu /wp-admin/admin.php?page=wpb-floating-menu-or-categories-about | 2.26 | 7.13 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 2.41 | 8.19 |
Settings /wp-admin/admin.php?page=wpb-floating-menu-or-categories-settings | 2.26 | 6.64 |
Server storage [IO: ▲1.27MB] [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: 22 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
category_children |
db_upgraded |
widget_theysaidso_widget |
wpb_fmc_style_settings |
wpb_fmc_category_settings |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
wpb_fmc_memu_settings |
Browser metrics Passed 4 tests
A check of browser resources used by WPB Floating Menu or Categories - Sticky Floating Side Menu & Categories with Icons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,150 ▲404 | 15.43 ▲1.08 | 5.19 ▲3.35 | 41.31 ▼5.15 |
Dashboard /wp-admin | 2,418 ▲233 | 6.62 ▲0.77 | 133.37 ▲18.81 | 43.83 ▼0.65 |
Posts /wp-admin/edit.php | 2,329 ▲237 | 3.55 ▲1.55 | 53.55 ▲16.52 | 34.69 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,584 ▲65 | 24.65 ▲1.52 | 587.60 ▼52.41 | 29.19 ▼27.80 |
Media Library /wp-admin/upload.php | 1,471 ▲83 | 4.38 ▲0.19 | 85.85 ▼12.43 | 44.90 ▲3.68 |
Floating Menu /wp-admin/admin.php?page=wpb-floating-menu-or-categories-about | 1,137 | 3.50 | 51.16 | 330.05 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,192 | 3.24 | 44.69 | 28.81 |
Settings /wp-admin/admin.php?page=wpb-floating-menu-or-categories-settings | 1,607 | 3.60 | 67.71 | 29.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wpb-floating-menu-or-categories/admin/category-icon.php+11
Undefined index: taxonomy
- The uninstall procedure has failed, leaving 10 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- wpb_fmc_style_settings
- category_children
- wpb_fmc_memu_settings
- widget_theysaidso_widget
- widget_recent-posts
- wpb_fmc_category_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpb-floating-menu-or-categories-settings
- > Notice in wp-content/plugins/wpb-floating-menu-or-categories/inc/wpb_scripts.php+29
Undefined index: taxonomy
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WPB_FMC_WeDevs_Settings_API' not found in wp-content/plugins/wpb-floating-menu-or-categories/admin/plugin-settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/wpb-floating-menu-or-categories/admin/admin-page.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/wpb-floating-menu-or-categories/inc/class-tgm-plugin-activation.php:2016
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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
These attributes need your attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
wpb-floating-menu-or-categories/main.php 92% from 13 tests
The main PHP file in "WPB Floating Menu or Categories - Sticky Floating Side Menu & Categories with Icons" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wpb-floating-menu-or-categories.php" instead of "main.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
Everything looks great! No dangerous files found in this plugin5,907 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 815 | 1,880 | 2,843 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 18 | 18 | 393 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 35.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 148 | |
▷ Static methods | 6 | 4.05% |
▷ Public methods | 125 | 84.46% |
▷ Protected methods | 23 | 15.54% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 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 were not PNG files found in your plugin