Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.41ms] Passed 4 tests
Server-side resources used by Social Icons for WooCoomerce Emails
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.02 | 43.76 ▼0.52 |
Dashboard /wp-admin | 3.59 ▼0.04 | 51.01 ▼18.18 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 54.19 ▲4.00 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.02 | 101.23 ▼34.16 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 44.31 ▲3.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Social Icons for WooCoomerce Emails: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.34 ▼0.04 | 1.72 ▼0.56 | 39.10 ▼11.32 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.04 | 91.99 ▲5.38 | 39.20 ▼5.36 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 39.55 ▲1.75 | 35.42 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.28 ▲5.40 | 698.31 ▲66.77 | 68.03 ▲14.27 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.22 ▼0.04 | 114.92 ▲9.68 | 52.26 ▲10.07 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-icons-for-woocoomerce-emails/inc/plugin_hooks.php:3
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: links, social, email, footer, woocommerce
social-icons-for-woocoomerce-emails/social-icons-for-woocoomerce-emails.php 92% from 13 tests
The entry point to "Social Icons for WooCoomerce Emails" version 2.1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected196 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 45 | 11 | 155 |
PO File | 1 | 12 | 12 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/images/instagram.png | 2.08KB | 1.23KB | ▼ 40.87% |
static/images/facebook.png | 0.74KB | 0.54KB | ▼ 27.46% |
static/images/twitter.png | 1.43KB | 1.06KB | ▼ 26.31% |
static/images/youtube.png | 2.13KB | 1.59KB | ▼ 25.31% |
static/images/pinterest.png | 1.89KB | 1.37KB | ▼ 27.64% |