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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.17ms] Passed 4 tests
Server-side resources used by Stylish Social Share
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.78 ▼4.09 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.54 ▼0.23 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.61 ▼4.39 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.79 ▲4.51 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.21 ▼3.95 |
Stylish Social Share /wp-admin/options-general.php?page=stylish-social-share-settings | 3.22 | 31.87 |
Server storage [IO: ▲1.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 54 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Stylish Social Share
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲187 | 13.58 ▼0.79 | 5.68 ▲4.00 | 41.62 ▲1.42 |
Dashboard /wp-admin | 2,218 ▲30 | 5.86 ▲0.01 | 105.17 ▲6.36 | 42.51 ▲7.40 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.03 | 40.19 ▲4.33 | 34.43 ▲2.03 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.29 ▲0.12 | 606.41 ▼95.44 | 59.99 ▲5.80 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.17 ▼0.02 | 96.44 ▼0.08 | 41.24 ▼6.56 |
Stylish Social Share /wp-admin/options-general.php?page=stylish-social-share-settings | 1,346 | 1.87 | 31.14 | 29.08 |
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 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=stylish-social-share-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=stylish-social-share-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 14× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme6.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme3d0.php
- > /wp-content/plugins/stylish-social-share/public/partials/stylish-social-share-public-display.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme3d1.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme4.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme2.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme1.php
- > /wp-content/plugins/stylish-social-share/admin/partials/stylish-social-share-admin-display.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme0.php
- > /wp-content/plugins/stylish-social-share/admin/settings/themes/theme7.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/stylish-social-share/admin/settings/settings.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: social url share, social share, social media share, social network share, share counter...
stylish-social-share/stylish-social-share.php Passed 13 tests
The main PHP file in "Stylish Social Share" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
94 characters long description:
Add nice looking skinnable social share bar to your Wordpress site. 12 designs to choose from.
Code Analysis Passed 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 plugin2,827 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 26 | 11 | 1,234 |
PHP | 27 | 310 | 749 | 927 |
SVG | 1 | 0 | 0 | 640 |
JavaScript | 4 | 6 | 28 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 3 | 5.88% |
▷ Public methods | 45 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.76% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin