Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.14ms] Passed 4 tests
This is a short check of server-side resources used by Floating Menu Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.70 ▲0.54 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.53 ▼4.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.29 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.83 ▼15.44 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.74 ▲2.07 |
Floating Menu /wp-admin/options-general.php?page=floating-menu-button-links | 3.41 | 58.46 |
Server storage [IO: ▲0.98MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 17 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
fmbl_option_11 |
fmbl_hover_color |
fmbl_option_1 |
theysaidso_admin_options |
fmbl_radio_option_1 |
fmbl_radio_option_2 |
fmbl_icolor_option |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Floating Menu Links
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲157 | 13.84 ▼0.69 | 7.72 ▲5.80 | 40.21 ▼4.43 |
Dashboard /wp-admin | 2,216 ▲36 | 5.74 ▲0.10 | 91.92 ▲1.17 | 39.24 ▼1.81 |
Posts /wp-admin/edit.php | 2,132 ▲35 | 2.29 ▲0.30 | 41.77 ▲6.16 | 33.90 ▼2.04 |
Add New Post /wp-admin/post-new.php | 1,548 ▲13 | 23.31 ▲5.15 | 668.55 ▲12.98 | 37.13 ▼27.43 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.42 ▲0.25 | 99.96 ▼17.02 | 43.92 ▼1.36 |
Floating Menu /wp-admin/options-general.php?page=floating-menu-button-links | 24,926 | 2.74 | 78.06 | 33.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 17 options in the database
- db_upgraded
- fmbl_option_6
- fmbl_radio_option_2
- can_compress_scripts
- fmbl_hover_color
- fmbl_isize_option
- fmbl_bcolor_option
- fmbl_icolor_option
- fmbl_radio_option_1
- fmbl_option_11
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: conversion, menu, menu links, floating menu, float link
floating-menu-button-links/floating-menu-button-links.php Passed 13 tests
The main PHP script in "Floating Menu Links" version 1.2 is automatically included on every request by WordPress
48 characters long description:
Add sticky floating menu links to your web pages
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,019 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 3 | 34 | 24 | 1,131 |
CSS | 3 | 13 | 3 | 197 |
JavaScript | 2 | 1 | 0 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin