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: ▲1.32MB] [CPU: ▼1.61ms] Passed 4 tests
A check of server-side resources used by Social Sharing Plugin - Sassy Social Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.83 ▲1.37 | 50.78 ▲10.73 |
Dashboard /wp-admin | 4.66 ▲1.32 | 52.39 ▼7.34 |
Posts /wp-admin/edit.php | 4.71 ▲1.36 | 48.31 ▲3.07 |
Add New Post /wp-admin/post-new.php | 7.20 ▲1.32 | 97.07 ▼6.06 |
Media Library /wp-admin/upload.php | 4.52 ▲1.29 | 40.65 ▲3.88 |
Sassy Social Share /wp-admin/admin.php?page=heateor-sss-options | 5.76 | 51.73 |
Social Share myCRED Integration /wp-admin/admin.php?page=heateor-sss-mycred-options | 4.51 | 39.81 |
Social Analytics /wp-admin/admin.php?page=heateor-sss-ssga-options | 4.52 | 36.57 |
Social Share Buttons /wp-admin/admin.php?page=heateor-sss-ssb-options | 4.56 | 38.54 |
Recover Social Share Counts /wp-admin/admin.php?page=heateor-sss-rssc-options | 4.51 | 41.42 |
Server storage [IO: ▲1.54MB] [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: 189 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_heateor_sss_floating_sharing |
theysaidso_admin_options |
widget_heateor_sss_sharing |
heateor_sss |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_heateor_sss_follow |
heateor_sss_version |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Sharing Plugin - Sassy Social Share
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,106 ▲359 | 13.47 ▼0.85 | 11.42 ▲9.71 | 40.06 ▼3.67 |
Dashboard /wp-admin | 2,250 ▲69 | 5.57 ▼0.10 | 91.36 ▼20.51 | 86.44 ▲42.68 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.11 ▲0.09 | 34.36 ▼1.10 | 29.66 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,764 ▲238 | 23.24 ▼0.35 | 750.79 ▲55.99 | 64.40 ▲13.23 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.24 ▲0.02 | 97.23 ▼7.36 | 78.58 ▲30.39 |
Sassy Social Share /wp-admin/admin.php?page=heateor-sss-options | 10,536 | 8.56 | 196.03 | 142.02 |
Social Share myCRED Integration /wp-admin/admin.php?page=heateor-sss-mycred-options | 1,214 | 3.39 | 85.21 | 32.55 |
Social Analytics /wp-admin/admin.php?page=heateor-sss-ssga-options | 1,331 | 3.39 | 68.70 | 35.62 |
Social Share Buttons /wp-admin/admin.php?page=heateor-sss-ssb-options | 1,816 | 3.42 | 56.21 | 37.94 |
Recover Social Share Counts /wp-admin/admin.php?page=heateor-sss-rssc-options | 1,262 | 3.41 | 54.09 | 30.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-comments
- widget_heateor_sss_follow
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/sassy-social-share/admin/partials/sassy-social-share-ssb-options.php
- > /wp-content/plugins/sassy-social-share/admin/partials/sassy-social-share-my-cred-plugin-options.php
- > /wp-content/plugins/sassy-social-share/admin/partials/sassy-social-share-rssc-plugin-options.php
- > /wp-content/plugins/sassy-social-share/admin/partials/sassy-social-share-options-page.php
- > /wp-content/plugins/sassy-social-share/images/themes/index.php
- > /wp-content/plugins/sassy-social-share/admin/partials/sassy-social-share-about.php
- > /wp-content/plugins/sassy-social-share/uninstall.php
- > /wp-content/plugins/sassy-social-share/sassy-social-share.php
- > /wp-content/plugins/sassy-social-share/admin/partials/sassy-social-share-ssga-plugin-options.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/sassy-social-share/includes/class-sassy-social-share-widgets.php:19
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=heateor-sss-rssc-options
- > Security (severe) in unknown
http://platform.twitter.com/widgets/follow_button.html?screen_name=heateor - Refused to execute script from 'https://cdn.syndication.twimg.com/widgets/followbutton/info.json?callback=__twttr.setFollowersCountAndFollowing&lang=en&screen_names=heateor' because its MIME type ('') is not executable, and strict MIME type checking is enabled.
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:
- Tags: There are too many tags (43 tag instead of maximum 10)
sassy-social-share/sassy-social-share.php Passed 13 tests
The primary PHP file in "Social Sharing Plugin - Sassy Social Share" version 3.3.56 is used by WordPress to initiate all plugin functionality
112 characters long description:
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin8,231 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 784 | 859 | 6,724 |
JavaScript | 4 | 52 | 31 | 1,374 |
SVG | 114 | 0 | 0 | 123 |
XML | 1 | 0 | 0 | 7 |
CSS | 3 | 0 | 0 | 3 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 164)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.74 |
Average class complexity | 147.75 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 525.00 |
Average method complexity | 13.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 164.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 78 | 82.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 17.89% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 2 | |
▷ Global constants | 2 | 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
35 PNG files occupy 0.34MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/snaps/sss_twitter_username.png | 16.37KB | 7.17KB | ▼ 56.19% |
images/sharing/twitter_tweet.png | 2.47KB | 1.39KB | ▼ 43.62% |
images/sharing/stumbleupon_badge.png | 1.58KB | 1.35KB | ▼ 14.37% |
images/sharing/google_plusone.png | 0.53KB | 0.29KB | ▼ 46.22% |
images/social_icons.png | 5.91KB | 2.95KB | ▼ 50.04% |