Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.27ms] Passed 4 tests
Analyzing server-side resources used by Simple Social Share
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.86 ▼2.43 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.05 ▲1.60 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.86 ▼2.97 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 95.35 ▲5.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.30 ▲2.70 |
Simple Social Share /wp-admin/options-general.php?page=simple-social-share-settings | 3.27 | 29.75 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
s3_options |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Social Share
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲139 | 13.71 ▼1.04 | 5.92 ▲3.25 | 40.46 ▼0.93 |
Dashboard /wp-admin | 2,214 ▲26 | 4.87 ▼0.04 | 113.02 ▼3.43 | 39.75 ▼4.82 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.04 ▲0.00 | 42.00 ▼0.30 | 35.27 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,530 ▲6 | 18.46 ▼4.90 | 609.17 ▼13.20 | 53.99 ▼16.89 |
Media Library /wp-admin/upload.php | 1,399 ▲17 | 4.17 ▼0.15 | 101.30 ▼2.58 | 43.37 ▼0.94 |
Simple Social Share /wp-admin/options-general.php?page=simple-social-share-settings | 1,021 | 1.88 | 29.95 | 31.63 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- s3_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-social-share/simple-social-share.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin panel), #2 (Front End appearance for small button style with count), #3 (Front End appearance for small button style without count), #4 (Front End appearance for square button style), #5 (Front End appearance for rounded corner button style), #6 (Front End appearance for circular buttons)
simple-social-share/simple-social-share.php Passed 13 tests
"Simple Social Share" version 3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
76 characters long description:
A simple plugin for displaying social media icons to share Post/Page content
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin483 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 59 | 18 | 369 |
CSS | 4 | 5 | 5 | 98 |
JavaScript | 2 | 5 | 6 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.18MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/horizontal-w-c-square.png | 4.26KB | 1.65KB | ▼ 61.30% |
screenshot-4.png | 13.25KB | 5.09KB | ▼ 61.56% |
images/horizontal-w-c-r-border.png | 5.36KB | 2.27KB | ▼ 57.72% |
screenshot-6.png | 18.04KB | 6.82KB | ▼ 62.19% |
images/horizontal-with-count.png | 7.02KB | 3.55KB | ▼ 49.40% |