Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.58ms] Passed 4 tests
An overview of server-side resources used by Sticky Social Icons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 36.30 ▼2.91 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.13 ▼4.00 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.28 ▼3.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.82 ▲6.37 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.45 ▼0.21 |
Sticky Social Icons /wp-admin/options-general.php?page=sticky-social-icons | 3.32 | 34.52 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
sanil_ssi_db_all_options_names |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sticky Social Icons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.21 ▼1.54 | 1.58 ▼0.14 | 37.34 ▼5.80 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▲0.91 | 107.64 ▼10.36 | 42.05 ▼0.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.09 | 38.10 ▼2.03 | 36.17 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,537 ▲2 | 23.45 ▲0.39 | 587.70 ▼100.99 | 45.79 ▼13.14 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.18 ▼0.03 | 95.91 ▼7.70 | 42.60 ▼1.05 |
Sticky Social Icons /wp-admin/options-general.php?page=sticky-social-icons | 929 | 2.07 | 22.33 | 30.64 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: hide_in_mobile in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 3
- > PHP Notice
Undefined variable: icons_data in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 8
- > PHP Notice
Undefined variable: enable_animation in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 2
- > PHP Notice
Undefined variable: design in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 8
- > PHP Notice
Undefined variable: alignment in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 1
- > PHP Notice
Undefined variable: alignment in wp-content/plugins/sticky-social-icons/public/templates/sticky-social-icons-template.php on line 6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== sticky-social-icons ===
)
sticky-social-icons/sticky-social-icons.php Passed 13 tests
The main PHP file in "Sticky Social Icons" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
Show your favorite social media icons into the side of your website screen.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin3,787 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 8 | 0 | 3,058 |
PHP | 15 | 276 | 597 | 703 |
SVG | 3 | 0 | 0 | 22 |
CSS | 4 | 0 | 2 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 32 | 82.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 17.95% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin