Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.34ms] Passed 4 tests
An overview of server-side resources used by WP Sticky Sidebar - Floating Sidebar On Scroll for Any Theme
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 35.87 ▼8.77 |
Dashboard /wp-admin | 3.53 ▲0.22 | 46.63 ▼1.43 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 51.12 ▲6.80 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 91.75 ▲5.32 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 36.27 ▼0.49 |
WP Sticky Sidebar /wp-admin/options-general.php?page=my-stickysidebar-settings | 3.42 | 32.95 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 11 new options
New WordPress options |
---|
wpstickysidebar_show_review_box_after |
widget_recent-posts |
can_compress_scripts |
has_sticky_sidebar_old_version |
theysaidso_admin_options |
wpstickysidebar_show_affiliate_box_after |
widget_theysaidso_widget |
widget_recent-comments |
mystickyside_option_name |
db_upgraded |
... |
Browser metrics Passed 4 tests
WP Sticky Sidebar - Floating Sidebar On Scroll for Any Theme: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲247 | 13.69 ▼0.68 | 9.68 ▲7.70 | 41.40 ▼2.57 |
Dashboard /wp-admin | 2,213 ▲28 | 5.85 ▲0.99 | 105.81 ▼13.64 | 40.61 ▼7.54 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.04 ▲0.04 | 39.40 ▲3.88 | 36.42 ▲3.40 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.09 ▲5.58 | 625.50 ▼69.32 | 61.91 ▲0.87 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▼0.03 | 96.74 ▼0.14 | 43.28 ▼4.17 |
WP Sticky Sidebar /wp-admin/options-general.php?page=my-stickysidebar-settings | 1,509 | 1.72 | 31.38 | 114.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 11 options
- wpstickysidebar_show_affiliate_box_after
- sticky_sidebar_status
- db_upgraded
- widget_recent-comments
- has_sticky_sidebar_old_version
- wpstickysidebar_show_review_box_after
- mystickyside_option_name
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 75% 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 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mystickysidebar/mystickysidebar.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: sidebar, sticky sidebar, disable sidebar, sticky, fixed sidebar...
mystickysidebar/mystickysidebar.php Passed 13 tests
The entry point to "WP Sticky Sidebar - Floating Sidebar On Scroll for Any Theme" version 1.3.9 is a PHP file that has certain tags in its header comment area
134 characters long description:
Simple sticky sidebar implementation. After install go to Settings / WP Sticky Sidebar and change Sticky Class to .your_sidebar_class.
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
Success! There were no dangerous files found in this plugin3,061 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 182 | 81 | 1,368 |
CSS | 2 | 224 | 7 | 1,314 |
JavaScript | 3 | 78 | 56 | 285 |
PO File | 1 | 34 | 36 | 94 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 6.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.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 | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rpt_recommended.png | 1.49KB | 0.45KB | ▼ 69.99% |
images/payment.png | 7.55KB | 4.38KB | ▼ 42.08% |
images/testimonial.png | 68.13KB | 22.33KB | ▼ 67.22% |
images/premio-owner.png | 6.21KB | 3.08KB | ▼ 50.38% |