Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.71ms] Passed 4 tests
This is a short check of server-side resources used by Show Support Ribbon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 34.95 ▼0.73 |
Dashboard /wp-admin | 3.44 ▲0.13 | 46.26 ▼3.72 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 44.43 ▼4.16 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 93.97 ▼1.62 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 33.83 ▼1.34 |
Support Ribbon /wp-admin/options-general.php?page=show-support-ribbon/show-support-ribbon.php | 3.35 | 29.92 |
Server storage [IO: ▲0.39MB] [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: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
ssr_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Show Support Ribbon: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.25 | 1.62 ▼0.08 | 39.03 ▼0.28 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▲0.03 | 85.54 ▲2.99 | 38.57 ▼4.79 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.04 | 34.06 ▼7.29 | 35.16 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.24 ▼4.81 | 588.84 ▼54.86 | 68.70 ▲5.83 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.23 ▲0.01 | 99.40 ▼1.13 | 42.76 ▼0.33 |
Support Ribbon /wp-admin/options-general.php?page=show-support-ribbon/show-support-ribbon.php | 1,558 | 1.75 | 26.41 | 44.65 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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 | 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 | 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
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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
show-support-ribbon/show-support-ribbon.php 92% from 13 tests
The main PHP file in "Show Support Ribbon" ver. 20231025... adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "20231025...")
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
Everything looks great! No dangerous files found in this plugin628 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 182 | 94 | 628 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 21 | |
▷ Named functions | 21 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ssr-logo.png | 56.07KB | 17.65KB | ▼ 68.52% |