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.03MB] [CPU: ▼138.50ms] Passed 4 tests
An overview of server-side resources used by Floating Social Share Bar (Lizard)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 41.39 ▲17.70 |
Dashboard /wp-admin | 3.09 ▲0.04 | 45.14 ▲0.46 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 44.59 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 93.50 ▼555.12 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 36.17 ▲1.33 |
Floating Social Share /wp-admin/options-general.php?page=awfss-social-share | 3.00 | 26.56 |
Server storage [IO: ▲0.06MB] [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: 12 new files
Database: no new tables, 12 new options
New WordPress options |
---|
awfss-social-share-above-content |
awfss-social-share-linkurl |
awfss-social-share-envelope |
awfss-social-share-below-content |
awfss-social-share-floating-menu |
awfss-social-share-facebook |
awfss-social-share-linkedin |
awfss-social-share-position |
awfss-social-share-googleplus |
awfss-social-share-tumblr |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Floating Social Share Bar (Lizard)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,880 ▲284 | 16.30 ▲0.65 | 13.77 ▲3.94 | 47.08 ▼0.20 |
Dashboard /wp-admin | 2,972 ▲41 | 5.89 ▼0.04 | 161.40 ▼0.46 | 103.97 ▼5.63 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▼0.00 | 64.94 ▼8.25 | 89.32 ▼0.33 |
Add New Post /wp-admin/post-new.php | 1,618 ▼65 | 21.48 ▲2.74 | 315.60 ▼86.04 | 108.35 ▼3.32 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▲0.00 | 168.74 ▲10.92 | 121.68 ▲5.44 |
Floating Social Share /wp-admin/options-general.php?page=awfss-social-share | 1,232 | 2.10 | 55.47 | 79.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 12 options
- awfss-social-share-shape
- awfss-social-share-googleplus
- awfss-social-share-tumblr
- awfss-social-share-linkedin
- awfss-social-share-facebook
- awfss-social-share-twitter
- awfss-social-share-envelope
- awfss-social-share-below-content
- awfss-social-share-above-content
- awfss-social-share-floating-menu
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/floating-social-share-bar-lizard/aankha-wp-floating-social-share.php
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 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in floating-social-share-bar-lizard/assets to your readme.txt
floating-social-share-bar-lizard/aankha-wp-floating-social-share.php 92% from 13 tests
The principal PHP file in "Floating Social Share Bar (Lizard)" v. 3.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("floating-social-share-bar-lizard.php" instead of "aankha-wp-floating-social-share.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected660 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 195 | 95 | 483 |
CSS | 1 | 14 | 18 | 144 |
SVG | 1 | 0 | 0 | 18 |
JavaScript | 1 | 6 | 8 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 30 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/share-128.png | 1.84KB | 1.96KB | 0.00% |