Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▼2.46ms] Passed 4 tests
This is a short check of server-side resources used by Social Share, Social Login and Social Comments Plugin - Super Socializer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 46.22 ▲7.49 |
Dashboard /wp-admin | 3.54 ▲0.24 | 46.48 ▼3.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 50.31 ▲0.13 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 87.96 ▼4.56 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 32.47 ▼2.10 |
Social Sharing /wp-admin/admin.php?page=heateor-social-sharing | 4.58 | 43.36 |
Social Commenting /wp-admin/admin.php?page=heateor-social-commenting | 3.59 | 31.45 |
General Options /wp-admin/admin.php?page=heateor-ss-general-options | 3.49 | 31.03 |
Like Buttons /wp-admin/admin.php?page=heateor-like-buttons | 3.75 | 33.45 |
Social Login /wp-admin/admin.php?page=heateor-social-login | 4.51 | 38.48 |
Server storage [IO: ▲4.37MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 248 new files
Database: no new tables, 18 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_thechampverticalsharing |
the_champ_login |
the_champ_facebook |
widget_recent-comments |
widget_thechamphorizontalsharing |
the_champ_general |
widget_thechamphorizontalcounter |
the_champ_counter |
widget_thechampfollow |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Social Share, Social Login and Social Comments Plugin - Super Socializer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,130 ▲343 | 14.83 ▲0.55 | 18.84 ▲16.74 | 41.44 ▼2.82 |
Dashboard /wp-admin | 2,250 ▲76 | 5.56 ▼0.08 | 94.12 ▼3.83 | 68.69 ▲26.77 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.08 ▲0.07 | 38.82 ▲1.27 | 32.74 ▼4.48 |
Add New Post /wp-admin/post-new.php | 6,321 ▲4,795 | 26.07 ▲2.36 | 928.30 ▲237.57 | 50.48 ▼4.51 |
Media Library /wp-admin/upload.php | 1,458 ▲55 | 4.18 ▼0.02 | 97.72 ▼0.84 | 65.42 ▲23.05 |
Social Sharing /wp-admin/admin.php?page=heateor-social-sharing | 9,436 | 7.26 | 203.86 | 120.20 |
Social Commenting /wp-admin/admin.php?page=heateor-social-commenting | 2,520 | 4.73 | 125.38 | 38.31 |
General Options /wp-admin/admin.php?page=heateor-ss-general-options | 1,347 | 3.52 | 66.38 | 36.14 |
Like Buttons /wp-admin/admin.php?page=heateor-like-buttons | 3,584 | 6.76 | 127.89 | 25.83 |
Social Login /wp-admin/admin.php?page=heateor-social-login | 6,264 | 6.76 | 104.55 | 31.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_thechampfollow
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 take a closer look at the following
- 31× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/super-socializer/js/front/sharing/index.php
- > /wp-content/plugins/super-socializer/admin/help.php
- > /wp-content/plugins/super-socializer/library/index.php
- > /wp-content/plugins/super-socializer/images/snaps/index.php
- > /wp-content/plugins/super-socializer/js/admin/counter/index.php
- > /wp-content/plugins/super-socializer/inc/social_login.php
- > /wp-content/plugins/super-socializer/inc/shortcode.php
- > /wp-content/plugins/super-socializer/images/login/index.php
- > /wp-content/plugins/super-socializer/js/front/index.php
- > /wp-content/plugins/super-socializer/languages/index.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-socializer/helper.php:199
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\SignatureMethod' not found in wp-content/plugins/super-socializer/library/Twitter/src/HmacSha1.php:15
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\Config' not found in wp-content/plugins/super-socializer/library/Twitter/src/TwitterOAuth.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=heateor-social-login
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (58 tag instead of maximum 10)
- Screenshots: A description for screenshot #7 is required in super-socializer/assets to your readme.txt
super-socializer/super_socializer.php 85% from 13 tests
"Social Share, Social Login and Social Comments Plugin - Super Socializer" version 7.13.63's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("super-socializer.php" instead of "super_socializer.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin38,410 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 6,593 | 9,846 | 20,881 |
PHP | 31 | 1,158 | 1,547 | 14,867 |
JavaScript | 11 | 77 | 53 | 2,373 |
SVG | 114 | 0 | 0 | 123 |
Markdown | 4 | 35 | 0 | 69 |
XML | 3 | 2 | 1 | 36 |
JSON | 1 | 0 | 0 | 34 |
YAML | 1 | 0 | 0 | 22 |
CSS | 3 | 0 | 0 | 5 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 103)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.83 |
Average class complexity | 26.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 103.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 141 | |
▷ Static methods | 7 | 4.96% |
▷ Public methods | 122 | 86.52% |
▷ Protected methods | 1 | 0.71% |
▷ Private methods | 18 | 12.77% |
Functions | 153 | |
▷ Named functions | 146 | 95.42% |
▷ Anonymous functions | 7 | 4.58% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
40 PNG files occupy 0.63MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/snaps/ss_vertical_counter.png | 38.56KB | 15.84KB | ▼ 58.91% |
images/sharing/facebook_like.png | 2.89KB | 1.61KB | ▼ 44.10% |
images/snaps/ss_vertical_sharing.png | 29.22KB | 10.40KB | ▼ 64.41% |
images/snaps/sl_wpavatar2.png | 31.79KB | 12.40KB | ▼ 61.01% |
images/snaps/sl_wpreg.png | 17.95KB | 6.58KB | ▼ 63.33% |