Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲6.17MB] [CPU: ▲55.15ms] 75% from 4 tests
This is a short check of server-side resources used by Fuse Social Floating Sidebar
Please take the time to fix the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 6.17MB on /wp-admin/options-general.php?page=redux-framework)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.42 ▲5.96 | 87.57 ▲47.38 |
Dashboard /wp-admin | 9.55 ▲6.21 | 116.07 ▲55.22 |
Posts /wp-admin/edit.php | 9.60 ▲6.24 | 99.28 ▲57.10 |
Add New Post /wp-admin/post-new.php | 12.16 ▲6.27 | 152.45 ▲60.90 |
Media Library /wp-admin/upload.php | 9.49 ▲6.27 | 94.39 ▲62.12 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.73 | 85.79 |
Redux /wp-admin/options-general.php?page=redux-framework | 9.50 | 82.26 |
Server storage [IO: ▲14.68MB] [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: 1,112 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
fs_accounts |
widget_recent-posts |
fuse-transients |
theysaidso_admin_options |
fs_active_plugins |
fuse |
widget_theysaidso_widget |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Fuse Social Floating Sidebar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲239 | 13.47 ▼0.88 | 9.05 ▲7.26 | 32.31 ▼10.86 |
Dashboard /wp-admin | 2,294 ▲117 | 5.54 ▲0.00 | 90.53 ▼12.22 | 82.25 ▲37.58 |
Posts /wp-admin/edit.php | 2,216 ▲119 | 2.00 ▼0.02 | 40.60 ▲3.07 | 38.06 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,571 ▲38 | 23.45 ▲0.57 | 676.96 ▲30.74 | 63.69 ▲8.30 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.23 ▲0.09 | 94.84 ▼7.23 | 46.87 ▲3.51 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,096 | 1.87 | 24.21 | 28.58 |
Redux /wp-admin/options-general.php?page=redux-framework | 1,052 | 3.35 | 70.27 | 85.87 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/fuse-social-floating-sidebar/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 11 options
- fuse-transients
- fs_active_plugins
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- fuse
- widget_recent-posts
- fs_debug_mode
- db_upgraded
- widget_recent-comments
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 55× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/core/required.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/core/enqueue.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/inc/fields/slides/field_slides.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/inc/fields/textarea/field_textarea.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fuse-social-floating-sidebar/inc/fuse_social_sidebar_scripts.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/templates/panel/container.tpl.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/inc/fields/section/field_section.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/inc/fields/multi_text/field_multi_text.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/inc/fields/info/field_info.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/fuse-social-floating-sidebar/framework/redux-core/inc/fields/media/field_media.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== fuse-social-floating-sidebar ===
) - Screenshots: A description for screenshot #6 is required in fuse-social-floating-sidebar/assets to your readme.txt
fuse-social-floating-sidebar/fuse_social_sidebar.php 92% from 13 tests
This is the main PHP file of "Fuse Social Floating Sidebar" version 5.4.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fuse-social-floating-sidebar.php" instead of "fuse_social_sidebar.php")
Code Analysis 95% from 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
No dangerous file extensions were detected122,161 lines of code in 754 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 341 | 15,716 | 30,172 | 61,740 |
JavaScript | 150 | 6,265 | 3,584 | 26,291 |
Sass | 111 | 1,955 | 118 | 14,764 |
CSS | 129 | 6,718 | 340 | 13,745 |
SVG | 7 | 0 | 0 | 3,617 |
LESS | 15 | 94 | 56 | 2,001 |
Markdown | 1 | 1 | 0 | 3 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 110)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 50.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 5.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 110.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 201 | |
▷ Abstract classes | 6 | 2.99% |
▷ Concrete classes | 195 | 97.01% |
▷ Final classes | 0 | 0.00% |
Methods | 2,358 | |
▷ Static methods | 488 | 20.70% |
▷ Public methods | 1,738 | 73.71% |
▷ Protected methods | 152 | 6.45% |
▷ Private methods | 468 | 19.85% |
Functions | 134 | |
▷ Named functions | 129 | 96.27% |
▷ Anonymous functions | 5 | 3.73% |
Constants | 247 | |
▷ Global constants | 102 | 41.30% |
▷ Class constants | 145 | 58.70% |
▷ Public constants | 145 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
74 PNG files occupy 1.14MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
framework/redux-core/assets/img/raw/jquery-ui-bootstrap/ui-bg_inset-soft_95_fef1ec_1x100.png | 0.12KB | 0.16KB | 0.00% |
framework/redux-core/assets/img/jquery-ui-bootstrap/ui-bg_flat_0_aaaaaa_40x100.png | 0.08KB | 0.08KB | 0.00% |
framework/redux-core/assets/img/raw/3cm.png | 2.96KB | 0.29KB | ▼ 90.35% |
framework/redux-core/assets/img/raw/jquery-ui-bootstrap/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
framework/presets/preset-2.png | 29.15KB | 9.31KB | ▼ 68.05% |