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.08MB] [CPU: ▼1.55ms] Passed 4 tests
Server-side resources used by Ultimate Social Share Buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 42.52 ▲1.04 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.85 ▼3.50 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.05 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.46 ▼2.59 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.67 ▲2.16 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Social Share Buttons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲62 | 14.16 ▼0.12 | 1.75 ▲0.03 | 38.90 ▼5.48 |
Dashboard /wp-admin | 2,197 ▲17 | 5.62 ▼0.06 | 92.82 ▲3.75 | 83.05 ▲39.35 |
Posts /wp-admin/edit.php | 2,120 ▲23 | 2.04 ▲0.10 | 35.59 ▼1.98 | 34.56 ▲0.86 |
Add New Post /wp-admin/post-new.php | 1,696 ▲168 | 22.35 ▼0.80 | 690.86 ▲51.55 | 57.49 ▼0.59 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.23 ▲0.05 | 103.12 ▼0.46 | 44.54 ▼2.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultimate-social-share-buttons/views/ssbutton-view.php
- > /wp-content/plugins/ultimate-social-share-buttons/includes/ssbutton-admin.php
- > /wp-content/plugins/ultimate-social-share-buttons/ultimate-social-share-buttons.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Screenshot-1.png) image required
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
ultimate-social-share-buttons/ultimate-social-share-buttons.php 92% from 13 tests
"Ultimate Social Share Buttons" version 1.0.0'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 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected828 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 11 | 7 | 455 |
PHP | 6 | 37 | 66 | 367 |
JavaScript | 1 | 2 | 0 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ssb-messenger.png | 0.90KB | 1.01KB | 0.00% |
images/ssb-medium.png | 0.65KB | 0.87KB | 0.00% |
images/ssb-twitter.png | 0.85KB | 0.77KB | ▼ 9.68% |
images/ssb-instagram.png | 3.41KB | 1.95KB | ▼ 42.91% |
images/ssb-whatsapp.png | 1.87KB | 1.79KB | ▼ 4.13% |