Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.24MB] [CPU: ▼43.13ms] Passed 4 tests
Server-side resources used by Simple Social Share Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 14.37 ▼27.94 |
Dashboard /wp-admin | 2.77 ▼0.54 | 15.74 ▼34.18 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 15.62 ▼33.27 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.12 | 16.70 ▼77.13 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 14.82 ▼18.92 |
Server storage [IO: ▲0.82MB] [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: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Social Share Block
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.21 ▼1.18 | 1.76 ▼0.00 | 41.23 ▲0.20 |
Dashboard /wp-admin | 2,209 ▲20 | 4.80 ▼0.17 | 108.63 ▼2.36 | 42.03 ▲0.81 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.05 | 40.24 ▲0.34 | 35.91 ▲0.64 |
Add New Post /wp-admin/post-new.php | 1,528 ▲6 | 23.39 ▼0.30 | 585.48 ▼0.95 | 51.23 ▼3.48 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.21 ▼0.01 | 93.65 ▼2.88 | 41.65 ▼0.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/simple-social-share-block/sssb.php+36
filemtime(): stat failed for wp-content/plugins/simple-social-share-block//build/social-sharing/index.js
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== simple-social-share-block ===
) - Screenshots: Add images for these screenshots: #1 (Images + Grayscale), #2 (Icons + Colour), #3 (Icons + Colour + No Print button)
simple-social-share-block/sssb.php 85% from 13 tests
This is the main PHP file of "Simple Social Share Block" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-social-share-block.php" instead of "sssb.php")
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
There were no executable files found in this plugin18,114 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 16,290 |
JavaScript | 7 | 111 | 50 | 857 |
SVG | 1 | 0 | 0 | 348 |
Sass | 2 | 6 | 0 | 294 |
PHP | 1 | 38 | 52 | 147 |
CSS | 3 | 2 | 11 | 100 |
PO File | 1 | 20 | 26 | 78 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-pdf.png | 0.84KB | 0.45KB | ▼ 46.17% |
assets/screenshot-2.png | 2.67KB | 1.44KB | ▼ 46.21% |
assets/icon-256x256.png | 4.81KB | 2.16KB | ▼ 55.11% |
assets/screenshot-3.png | 2.27KB | 1.55KB | ▼ 31.70% |
assets/screenshot-1.png | 4.07KB | 2.15KB | ▼ 47.12% |