Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.66MB] [CPU: ▼2.10ms] Passed 4 tests
A check of server-side resources used by Simple Floating Menu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.55 ▲4.09 | 45.93 ▲5.24 |
Dashboard /wp-admin | 4.96 ▲1.61 | 49.83 ▼11.73 |
Posts /wp-admin/edit.php | 5.07 ▲1.72 | 50.15 ▲3.13 |
Add New Post /wp-admin/post-new.php | 7.54 ▲1.65 | 96.87 ▼1.03 |
Media Library /wp-admin/upload.php | 4.88 ▲1.65 | 38.51 ▲1.23 |
Server storage [IO: ▲5.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
sfm_first_activation |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Floating Menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲142 | 13.25 ▼1.24 | 5.31 ▲3.52 | 41.89 ▼1.64 |
Dashboard /wp-admin | 2,226 ▲38 | 4.86 ▼0.02 | 108.31 ▼7.63 | 44.25 ▲0.77 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.05 ▲0.01 | 40.47 ▲1.46 | 37.47 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,543 ▲6 | 18.29 ▼0.04 | 605.76 ▼85.20 | 56.91 ▼7.64 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.21 ▼0.05 | 97.88 ▼19.26 | 44.84 ▼6.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-floating-menu/inc/google-fonts-list.php:178
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/simple-floating-menu/frontend.php:128
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/simple-floating-menu/live-preview.php:191
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: A description for screenshot #4 is required in simple-floating-menu/assets to your readme.txt
simple-floating-menu/simple-floating-menu.php Passed 13 tests
The main PHP script in "Simple Floating Menu" version 1.2.6 is automatically included on every request by WordPress
66 characters long description:
Simple Floating Menu adds a stylish designed menu in your website.
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
Good job! No executable or dangerous file extensions detected44,133 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 12,878 | 51 | 40,159 |
JavaScript | 5 | 221 | 261 | 1,988 |
PHP | 7 | 342 | 424 | 1,986 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 61.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 5.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 7 | 14.00% |
▷ Public methods | 43 | 86.00% |
▷ Protected methods | 4 | 8.00% |
▷ Private methods | 3 | 6.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.87MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/floating-circular-buttons.png | 58.15KB | 63.14KB | 0.00% |
assets/img/side-full-menu.png | 480.11KB | 480.63KB | 0.00% |
assets/img/banner-image.png | 255.78KB | 74.92KB | ▼ 70.71% |
assets/img/upgrade-pro.png | 12.51KB | 5.35KB | ▼ 57.25% |
assets/img/nav-menu.png | 9.97KB | 9.96KB | 0.07% |