Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼0.19ms] Passed 4 tests
Server-side resources used by Social Media Feather | social media sharing
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 37.26 ▼3.00 |
Dashboard /wp-admin | 3.58 ▲0.28 | 47.15 ▲0.49 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 47.71 ▲5.23 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 104.89 ▲15.14 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 36.58 ▼3.48 |
Social Media /wp-admin/options-general.php?page=social-media-feather-settings | 3.48 | 31.33 |
Server storage [IO: ▲2.33MB] [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: 896 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_synved_social_follow |
db_upgraded |
synved_version |
widget_theysaidso_widget |
synved_social_settings |
synved_connect_install_date |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_synved_social_share |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Media Feather | social media sharing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲89 | 14.19 ▼0.19 | 1.64 ▼0.26 | 39.27 ▼4.86 |
Dashboard /wp-admin | 2,217 ▲29 | 5.77 ▲0.87 | 118.71 ▲10.76 | 42.81 ▲3.32 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.78 ▲0.81 | 61.18 ▲25.11 | 36.19 ▲4.40 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.31 ▲5.80 | 651.98 ▼14.74 | 36.34 ▼15.26 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.57 ▲0.35 | 98.59 ▼15.99 | 40.20 ▼8.19 |
Social Media /wp-admin/options-general.php?page=social-media-feather-settings | 2,081 | 5.10 | 89.08 | 52.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SynvedSocialWidget' not found in wp-content/plugins/social-media-feather/synved-social/inc/class-synvedsocialfollowwidget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/social-media-feather/synved-connect/synved-connect.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/social-media-feather/social-media-feather.php:14
- > PHP Warning
Use of undefined constant SOCIAL_MEDIA_FEATHER_PLUGIN_URL - assumed 'SOCIAL_MEDIA_FEATHER_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/social-media-feather/php/class-plugin-base.php on line 148
- > PHP Fatal error
Uncaught Error: Call to undefined function synved_option_get() in wp-content/plugins/social-media-feather/synved-social/synved-social-setup.php:164
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/social-media-feather/synved-plugout/synved-plugout.php:25
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/social-media-feather/synved-social/inc/class-synvedsocialwidget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/social-media-feather/synved-social/synved-social.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function SocialMediaFeather\\trailingslashit() in wp-content/plugins/social-media-feather/php/class-plugin.php:35
- > PHP Fatal error
Uncaught Error: Class 'SocialMediaFeather\\Plugin_Base' not found in wp-content/plugins/social-media-feather/php/class-plugin.php:13
- > PHP Fatal error
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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
social-media-feather/social-media-feather.php 92% from 13 tests
"Social Media Feather | social media sharing" version 2.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin5,998 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,064 | 1,626 | 5,066 |
CSS | 7 | 57 | 50 | 579 |
JavaScript | 5 | 62 | 72 | 328 |
Markdown | 2 | 16 | 0 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 11.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 39 | 95.12% |
▷ Protected methods | 2 | 4.88% |
▷ Private methods | 0 | 0.00% |
Functions | 142 | |
▷ Named functions | 135 | 95.07% |
▷ Anonymous functions | 7 | 4.93% |
Constants | 16 | |
▷ Global constants | 12 | 75.00% |
▷ Class constants | 4 | 25.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
850 compressed PNG files occupy 1.79MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
synved-social/addons/extra-icons/image/social/clearslate/64x64/youtube.png | 1.82KB | 1.56KB | ▼ 14.16% |
synved-social/addons/extra-icons/image/social/darkslate/32x32/foursquare.png | 0.59KB | 0.60KB | 0.00% |
synved-social/addons/extra-icons/image/social/circle/96x96/linkedin.png | 3.99KB | 3.21KB | ▼ 19.33% |
synved-social/image/social/regular/128x128/foursquare.png | 1.48KB | 1.57KB | 0.00% |
synved-social/addons/extra-icons/image/social/medal/32x32/reddit.png | 1.51KB | 1.50KB | ▼ 0.65% |