Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼9.14ms] Passed 4 tests
This is a short check of server-side resources used by Social Share With Floating Bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 41.37 ▲1.89 |
Dashboard /wp-admin | 3.51 ▲0.13 | 49.69 ▼18.26 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 45.19 ▼4.71 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 83.91 ▼15.46 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.26 ▲2.36 |
Social Share With Floating Bar /wp-admin/options-general.php?page=social_share_with_floating_bar_settings | 3.40 | 31.49 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
social_share_with_floating_bar_version |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Social Share With Floating Bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.32 ▼1.05 | 1.83 ▲0.09 | 43.00 ▲1.03 |
Dashboard /wp-admin | 2,212 ▲27 | 4.88 ▼1.00 | 99.74 ▼12.63 | 40.54 ▼2.29 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▲0.03 | 34.23 ▼5.26 | 35.22 ▼9.39 |
Add New Post /wp-admin/post-new.php | 6,252 ▲4,738 | 26.04 ▲8.57 | 915.89 ▲206.01 | 65.72 ▲13.95 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.18 ▼0.14 | 98.86 ▼7.67 | 44.97 ▲0.27 |
Social Share With Floating Bar /wp-admin/options-general.php?page=social_share_with_floating_bar_settings | 910 | 1.81 | 23.55 | 33.23 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- social_share_with_floating_bar_version
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: social sharing, wordpress, plugin
social-share-with-floating-bar/social-share-with-floating-bar.php 92% from 13 tests
The primary PHP file in "Social Share With Floating Bar" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 249 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,336 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 331 | 311 | 820 |
CSS | 4 | 89 | 4 | 516 |
PHP code Passed 2 tests
Analyzing 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.37 |
Average class complexity | 44.33 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 27 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.18% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin