Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.32ms] Passed 4 tests
An overview of server-side resources used by Social Share Buttons - Widget and Shortcode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.62 ▼7.69 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.91 ▼0.54 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.36 ▼2.60 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.34 ▼6.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 42.46 ▲6.37 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_social_share |
widget_theysaidso_widget |
can_compress_scripts |
Social_ShareInputField2 |
Social_ShareInputField1 |
widget_recent-posts |
Social_ShareInputField3 |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Share Buttons - Widget and Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.53 ▼0.21 | 1.73 ▼0.18 | 44.48 ▼1.03 |
Dashboard /wp-admin | 2,210 ▲30 | 5.56 ▼0.09 | 95.77 ▲5.45 | 79.87 ▲35.13 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.99 ▲0.03 | 36.38 ▼4.76 | 36.03 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.17 ▲0.05 | 685.57 ▲27.65 | 114.03 ▲54.23 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.23 ▼0.01 | 100.78 ▼3.64 | 60.30 ▲15.07 |
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 detected upon uninstall: 10 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- Social_ShareInputField3
- Social_ShareInputField1
- widget_social_share
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- Social_ShareInputField2
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: twitter, social media, facebook, social buttons, social share
social-share-buttons-widget-and-shortcode/SocialButtons-GSF.php 92% from 13 tests
The primary PHP file in "Social Share Buttons - Widget and Shortcode" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("social-share-buttons-widget-and-shortcode.php" instead of "SocialButtons-GSF.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
Everything looks great! No dangerous files found in this plugin252 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 42 | 252 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.73MB with 0.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fb.png | 2.29KB | 0.25KB | ▼ 89.23% |
screenicon.png | 6.08KB | 3.15KB | ▼ 48.15% |
screenshot-1.png | 479.65KB | 149.93KB | ▼ 68.74% |
screenshot-2.png | 62.37KB | 21.59KB | ▼ 65.38% |
promo.png | 32.61KB | 10.14KB | ▼ 68.91% |