Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.34MB] [CPU: ▼303.35ms] Passed 4 tests
An overview of server-side resources used by Social Media Follow Buttons Bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▼0.04 | 45.65 ▼3.64 |
Dashboard /wp-admin | 3.43 ▲0.03 | 35.12 ▲1.75 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 38.93 ▲2.87 |
Add New Post /wp-admin/post-new.php | 5.63 ▼1.34 | 55.43 ▼1,210.83 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 26.57 ▼0.69 |
Follow Buttons /wp-admin/options-general.php?page=social-media-buttons-toolbar | 3.20 | 20.99 |
Server storage [IO: ▲2.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 179 new files
Database: no new tables, 1 new option
New WordPress options |
---|
spacexchimp_p005_service_info |
Browser metrics Passed 4 tests
Social Media Follow Buttons Bar: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,914 ▲170 | 16.58 ▲0.87 | 9.50 ▲3.15 | 2.02 ▼0.02 |
Dashboard /wp-admin | 2,897 ▲43 | 6.12 ▼0.04 | 118.27 ▼16.93 | 155.26 ▼0.55 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.23 ▼0.00 | 62.46 ▼3.83 | 137.11 ▼5.28 |
Add New Post /wp-admin/post-new.php | 1,755 ▲94 | 21.20 ▲4.78 | 415.48 ▼8.35 | 156.11 ▲3.91 |
Media Library /wp-admin/upload.php | 1,700 ▲5 | 5.44 ▼0.08 | 137.30 ▼10.62 | 181.95 ▼5.14 |
Follow Buttons /wp-admin/options-general.php?page=social-media-buttons-toolbar | 11,337 | 3.36 | 82.39 | 138.98 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 1 option
- spacexchimp_p005_service_info
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social-media-buttons-toolbar
- > Notice in wp-content/plugins/social-media-buttons-toolbar/inc/php/options.php+42
Undefined index: caption
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social-media-buttons-toolbar
- > Notice in wp-content/plugins/social-media-buttons-toolbar/inc/php/options.php+43
Undefined index: icon-size
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=social-media-buttons-toolbar
- > Notice in wp-content/plugins/social-media-buttons-toolbar/inc/php/options.php+44
Undefined index: margin-right
- > GET request to /wp-admin/options-general.php?page=social-media-buttons-toolbar
- > Warning in wp-content/plugins/social-media-buttons-toolbar/inc/php/enqueue.php+31
A non-numeric value encountered
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
- 16× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/inline-js.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/items.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/sidebar.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/page.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/tabs/usage.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/upgrade.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/versioning.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/enqueue.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/messages.php
- > /wp-content/plugins/social-media-buttons-toolbar/inc/php/tabs/faq.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (35 tag instead of maximum 10)
social-media-buttons-toolbar/social-media-buttons-toolbar.php 92% from 13 tests
The main file in "Social Media Follow Buttons Bar" v. 4.73 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin7,373 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 1 | 0 | 2,677 |
PO File | 5 | 920 | 935 | 2,014 |
PHP | 17 | 315 | 411 | 1,441 |
CSS | 6 | 36 | 89 | 775 |
JavaScript | 4 | 130 | 47 | 466 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
130 compressed PNG files occupy 0.26MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/social-media-icons/bandcamp.png | 2.51KB | 2.63KB | 0.00% |
inc/img/social-media-icons/ebay.png | 1.57KB | 1.63KB | 0.00% |
inc/img/social-media-icons/tiktok.png | 1.36KB | 1.42KB | 0.00% |
inc/img/social-media-icons/soundcloud.png | 1.52KB | 1.52KB | 0.00% |
inc/img/social-media-icons/periscope.png | 2.46KB | 2.57KB | 0.00% |