Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.38MB] [CPU: ▲2.81ms] Passed 4 tests
An overview of server-side resources used by Social Sharing Plugin - Kiwi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.42 | 42.62 ▲5.65 |
Dashboard /wp-admin | 3.71 ▲0.40 | 48.76 ▲1.21 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 50.40 ▲7.14 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 85.38 ▼0.39 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 37.30 ▲4.75 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 83 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
kiwi_general_settings |
kiwi_social_sharing_version |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Social Sharing Plugin - Kiwi
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.35 ▼0.18 | 1.80 ▼0.02 | 41.88 ▼1.95 |
Dashboard /wp-admin | 2,218 ▲38 | 5.51 ▼0.06 | 84.13 ▼2.92 | 38.20 ▼0.75 |
Posts /wp-admin/edit.php | 2,120 ▲23 | 2.03 ▲0.09 | 39.05 ▲4.01 | 37.57 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.25 ▼0.25 | 665.66 ▼30.85 | 60.23 ▼6.97 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.23 ▲0.08 | 105.85 ▲2.73 | 47.99 ▲5.02 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- kiwi_social_sharing_version
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- kiwi_general_settings
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
kiwi-social-share/kiwi-social-share.php 92% from 13 tests
"Social Sharing Plugin - Kiwi" version 2.1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.8" instead of "4.0")
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
Everything looks great! No dangerous files found in this plugin8,639 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 782 | 1,352 | 3,581 |
CSS | 9 | 341 | 48 | 2,779 |
JSON | 1 | 0 | 0 | 1,530 |
JavaScript | 10 | 140 | 123 | 687 |
SVG | 2 | 0 | 0 | 62 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 2 | 6.90% |
▷ Concrete classes | 27 | 93.10% |
▷ Final classes | 14 | 51.85% |
Methods | 178 | |
▷ Static methods | 19 | 10.67% |
▷ Public methods | 173 | 97.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 2.81% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/mix.png | 1.08KB | 0.19KB | ▼ 82.64% |
assets/img/back-wavy.png | 3.65KB | 2.15KB | ▼ 41.03% |
assets/img/ico-delete.png | 0.70KB | 0.72KB | 0.00% |