Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.57ms] Passed 4 tests
This is a short check of server-side resources used by Float menu - awesome floating side menu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.85 ▲6.54 |
Dashboard /wp-admin | 3.45 ▲0.10 | 48.09 ▼11.65 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 45.38 ▼3.56 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.34 ▼17.25 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 38.61 ▲6.20 |
Welcome /wp-admin/admin.php?page=wow-company | 3.34 | 33.14 |
Float Menu Lite /wp-admin/admin.php?page=float-menu | 3.47 | 34.91 |
Server storage [IO: ▲1.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 89 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wow_fmp |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
wow_fmp_notice_action |
Browser metrics Passed 4 tests
Checking browser requirements for Float menu - awesome floating side menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲94 | 14.26 ▼0.08 | 1.78 ▲0.04 | 43.62 ▲7.12 |
Dashboard /wp-admin | 2,261 ▲89 | 5.63 ▲0.03 | 101.59 ▼6.65 | 43.23 ▲2.71 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.01 ▲0.02 | 40.61 ▼0.88 | 33.10 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.20 ▲0.05 | 676.90 ▲73.03 | 51.19 ▼1.83 |
Media Library /wp-admin/upload.php | 1,463 ▲60 | 4.20 ▲0.02 | 104.53 ▲11.25 | 44.67 ▲3.90 |
Welcome /wp-admin/admin.php?page=wow-company | 926 | 2.00 | 30.67 | 44.65 |
Float Menu Lite /wp-admin/admin.php?page=float-menu | 1,098 | 2.19 | 46.33 | 36.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 1 table in the database
- wp_wow_fmp
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- wow_fmp_notice_action
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Menu) image required
float-menu/float-menu.php Passed 13 tests
"Float menu - awesome floating side menu" version 5.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
Easily create floating menus of varying complexity
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 detected16,499 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 2,932 | 121 | 8,272 |
PHP | 35 | 606 | 662 | 5,428 |
JavaScript | 9 | 337 | 290 | 1,749 |
PO File | 1 | 274 | 343 | 618 |
Sass | 1 | 58 | 1 | 413 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 2 | 40.00% |
Methods | 56 | |
▷ Static methods | 4 | 7.14% |
▷ Public methods | 48 | 85.71% |
▷ Protected methods | 1 | 1.79% |
▷ Private methods | 7 | 12.50% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.12MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/about/image/icon.png | 121.88KB | 28.08KB | ▼ 76.96% |