Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/wp-floating-menu-framework/wp-floating-menu-framework.php+29
Undefined variable: js_file_key
Server metrics [RAM: ▼1.90MB] [CPU: ▼53.55ms] Passed 4 tests
This is a short check of server-side resources used by WP Floating Menu Framework
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.38 ▼35.66 |
Dashboard /wp-admin | 2.11 ▼1.20 | 5.61 ▼45.79 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.86 ▼42.09 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 5.71 ▼90.64 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.29 ▼31.17 |
Floating Menu Settings /wp-admin/options-general.php?page=wp-floating-menu-framework/wp-floating-menu-framework.php | 2.11 | 6.56 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
wp-floating-menu-framework_array |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Floating Menu Framework
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.47 ▲0.09 | 1.67 ▲0.08 | 40.81 ▼0.63 |
Dashboard /wp-admin | 2,210 ▲21 | 5.79 ▲0.87 | 97.97 ▼11.89 | 41.59 ▼2.65 |
Posts /wp-admin/edit.php | 2,090 ▲22 | 2.04 ▲0.03 | 36.97 ▲0.29 | 31.81 ▼8.84 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.31 ▲0.89 | 595.52 ▼82.85 | 47.95 ▼9.30 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.07 | 93.30 ▼10.54 | 41.09 ▼7.59 |
Floating Menu Settings /wp-admin/options-general.php?page=wp-floating-menu-framework/wp-floating-menu-framework.php | 844 | 2.19 | 27.68 | 27.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/wp-floating-menu-framework/wp-floating-menu-framework.php+29
Undefined variable: js_file_key
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- wp-floating-menu-framework_array
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-floating-menu-framework/wp-floating-menu-framework.php
- > Notice in wp-content/plugins/wp-floating-menu-framework/wp-floating-menu-framework.php+29
Undefined variable: js_file_key
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-floating-menu-framework/wp-floating-menu-framework.php
- > Notice in wp-content/plugins/wp-floating-menu-framework/wp-floating-menu-framework.php+167
Undefined index: js_file
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-floating-menu-framework/wp-floating-menu-framework.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: framework, floating menu
wp-floating-menu-framework/wp-floating-menu-framework.php Passed 13 tests
The main file in "WP Floating Menu Framework" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
The plugin is the framework for setting up the floating menu in WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin324 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 14 | 144 |
JavaScript | 3 | 28 | 15 | 119 |
PO File | 1 | 14 | 16 | 61 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin