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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.33ms] Passed 4 tests
This is a short check of server-side resources used by FloatySocial - Awesome Social Floating Sidebar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.25 ▲3.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.89 ▼2.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.54 ▼5.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.61 ▼12.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.89 ▼0.34 |
Server storage [IO: ▲2.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for FloatySocial - Awesome Social Floating Sidebar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲104 | 13.22 ▼1.23 | 1.76 ▲0.06 | 41.04 ▼3.36 |
Dashboard /wp-admin | 2,231 ▲51 | 5.83 ▲0.21 | 88.20 ▼3.93 | 39.79 ▼5.63 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.33 ▲0.36 | 42.73 ▲5.78 | 36.03 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.29 ▲0.01 | 659.63 ▼30.92 | 36.10 ▼31.92 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.47 ▲0.22 | 95.46 ▼14.94 | 41.75 ▼5.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× 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/floatysocial-awesome-social-floating-sidebar/inc/crfs_frontend_socials.php:179
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floatysocial-awesome-social-floating-sidebar/inc/crfs_enqueue_scripts.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floatysocial-awesome-social-floating-sidebar/inc/crfs_enqueue_scripts.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floatysocial-awesome-social-floating-sidebar/inc/crfs_admin_menu_page.php:7
- > PHP Fatal error
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 86% 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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #3, #4 in floatysocial-awesome-social-floating-sidebar/assets to your readme.txt
floatysocial-awesome-social-floating-sidebar/floatysocial-awesome-social-floating-sidebar.php 77% from 13 tests
"FloatySocial - Awesome Social Floating Sidebar" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 247 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "7.2 or later")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,801 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 10 | 7 | 2,187 |
Markdown | 1 | 80 | 0 | 320 |
PHP | 4 | 47 | 29 | 290 |
JavaScript | 2 | 1 | 12 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 5 | |
▷ Named functions | 5 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin