Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲2.62MB] [CPU: ▲337.70ms] 75% from 4 tests
Server-side resources used by Social Share Icons & Social Share Buttons
Please fix the following
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 337.70ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.09 ▲2.62 | 67.82 ▲33.16 |
Dashboard /wp-admin | 5.95 ▲2.61 | 494.78 ▲435.86 |
Posts /wp-admin/edit.php | 6.11 ▲2.74 | 505.50 ▲458.89 |
Add New Post /wp-admin/post-new.php | 8.43 ▲2.54 | 530.69 ▲434.15 |
Media Library /wp-admin/upload.php | 5.96 ▲2.73 | 482.09 ▲447.63 |
Server storage [IO: ▲24.73MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,656 new files
Database: no new tables, 65 new options
New WordPress options |
---|
sfsi_plus_loyaltyDate |
sfsi_plus_section2_options |
sfsi_plus_installDate |
widget_recent-posts |
sfsi_plus_banner_global_shares |
sfsi_plus_custom_icons |
sfsi_plus_dismiss_twitter |
insPP_body_alt_timeout |
theysaidso_admin_options |
sfsi_plus_banner_global_http |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Social Share Icons & Social Share Buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,762 ▲1,001 | 15.58 ▲1.02 | 29.43 ▲27.71 | 60.59 ▲18.26 |
Dashboard /wp-admin | 2,599 ▲421 | 5.79 ▲0.05 | 96.67 ▼5.11 | 89.13 ▲49.13 |
Posts /wp-admin/edit.php | 2,536 ▲439 | 2.87 ▲0.74 | 55.00 ▲20.37 | 50.46 ▲16.47 |
Add New Post /wp-admin/post-new.php | 6,851 ▲5,325 | 20.10 ▼3.13 | 939.23 ▲237.52 | 93.03 ▲36.93 |
Media Library /wp-admin/upload.php | 1,804 ▲404 | 5.20 ▲1.01 | 113.26 ▲15.51 | 85.35 ▲40.52 |
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
- This plugin does not fully uninstall, leaving 16 options in the database
- analyst_cache
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- _tifm_feature_enabled
- can_compress_scripts
- widget_theysaidso_widget
- insPP_body_alt_timeout
- _tifm_disable_feature_forever
- db_upgraded
- ...
Smoke tests 50% 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)
Everything seems fine, however 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
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/ultimate-social-media-plus/analyst/templates/optin.php
- > /wp-content/plugins/ultimate-social-media-plus/analyst/templates/forms/deactivate.php
- > /wp-content/plugins/ultimate-social-media-plus/views/subviews/que4/banner.php
- > /wp-content/plugins/ultimate-social-media-plus/views/deactivation/sfsi_deactivation_popup.php
- > /wp-content/plugins/ultimate-social-media-plus/analyst/templates/optout.php
- > /wp-content/plugins/ultimate-social-media-plus/analyst/templates/forms/install.php
- 83× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/ultimate-social-media-plus/analyst/src/Http/Requests/ActivateRequest.php:18
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/ultimate-social-media-plus/ultimate_social_media_icons.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-social-media-plus/images/icons_theme/chrome_blue/index.php:2
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/ultimate-social-media-plus/analyst/src/Http/Requests/OptInRequest.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-social-media-plus/libs/sfsi_plus_subscribe_widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-social-media-plus/css/images/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function maybe_unserialize() in wp-content/plugins/ultimate-social-media-plus/views/sfsi_option_view6.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-social-media-plus/libs/sfsi_widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-social-media-plus/images/icons_theme/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-social-media-plus/images/icons_theme/black2/index.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
ultimate-social-media-plus/ultimate_social_media_icons.php 77% from 13 tests
This is the main PHP file of "Social Share Icons & Social Share Buttons" version 3.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Description: Please don't use more than 140 characters for the plugin description (currently 261 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultimate-social-media-plus.php" instead of "ultimate_social_media_icons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin61,627 lines of code in 477 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 121 | 3,780 | 3,330 | 23,625 |
SVG | 327 | 4 | 9 | 21,999 |
CSS | 14 | 2,136 | 270 | 11,562 |
JavaScript | 15 | 472 | 400 | 4,441 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 10.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 5 | 9.62% |
▷ Concrete classes | 47 | 90.38% |
▷ Final classes | 0 | 0.00% |
Methods | 419 | |
▷ Static methods | 40 | 9.55% |
▷ Public methods | 347 | 82.82% |
▷ Protected methods | 12 | 2.86% |
▷ Private methods | 60 | 14.32% |
Functions | 221 | |
▷ Named functions | 188 | 85.07% |
▷ Anonymous functions | 33 | 14.93% |
Constants | 29 | |
▷ Global constants | 23 | 79.31% |
▷ Class constants | 6 | 20.69% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
915 PNG files occupy 10.30MB with 1.58MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons_theme/cubes/cubes_linkedin.png | 1.50KB | 1.46KB | ▼ 2.68% |
images/logo.png | 1.26KB | 1.25KB | ▼ 0.62% |
images/amazon.png | 2.44KB | 2.30KB | ▼ 6.07% |
banner/views/projects/fit/imgs/face3.png | 2.33KB | 2.29KB | ▼ 1.47% |
images/visit_icons/Visit_us_fb/icon_Visit_me_pt_PT.png | 4.33KB | 1.48KB | ▼ 65.88% |