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.00MB] [CPU: ▼8.91ms] Passed 4 tests
Server-side resources used by Sticky Social Bar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.99 ▼4.38 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.96 ▼20.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.22 ▼2.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.96 ▼8.04 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.78 ▲1.83 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sticky_social_bar |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Sticky Social Bar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲162 | 13.57 ▼0.78 | 2.38 ▲0.45 | 57.29 ▲15.61 |
Dashboard /wp-admin | 2,239 ▲36 | 5.06 ▼0.85 | 107.86 ▼0.63 | 76.58 ▲35.01 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.02 ▲0.02 | 34.36 ▼5.82 | 32.74 ▼4.84 |
Add New Post /wp-admin/post-new.php | 1,693 ▲162 | 22.42 ▼0.79 | 702.81 ▲15.05 | 44.10 ▼18.61 |
Media Library /wp-admin/upload.php | 1,412 ▲18 | 4.13 ▼0.09 | 94.10 ▼16.65 | 76.80 ▲31.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/sticky-social-bar/sticky-social-bar-setting-form.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/sticky-social-bar/sticky-social-bar.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/sticky-social-bar/sticky-social-bar-setting-form.php:6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== sticky-social-bar ===
) - Donate link: Please fix this invalid url: ""
sticky-social-bar/sticky-social-bar.php Passed 13 tests
"Sticky Social Bar" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
109 characters long description:
Sticky social bar is a simple container of social media icons, glued to the right side of the browser window.
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
There were no executable files found in this plugin239 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 38 | 32 | 232 |
Markdown | 1 | 4 | 0 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pinterest.png | 0.97KB | 0.88KB | ▼ 10.03% |
images/facebook.png | 3.19KB | 0.46KB | ▼ 85.68% |
images/linkedin.png | 3.30KB | 0.53KB | ▼ 83.89% |
images/wordpress.png | 3.85KB | 1.05KB | ▼ 72.79% |
images/vemo.png | 3.53KB | 0.78KB | ▼ 77.92% |