89% kiwi-social-share

Code Review | Social Sharing Plugin - Kiwi

WordPress plugin Social Sharing Plugin - Kiwi scored 89% from 54 tests.

About plugin

  • Plugin page: kiwi-social-share
  • Plugin version: 2.1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.9
  • WordPress version: 5.8.1
  • First release: Jun 20, 2016
  • Latest release: Feb 22, 2022
  • Number of updates: 101
  • Update frequency: every 20.5 days
  • Top authors: cristian.raiber (38.61%)machothemes (33.66%)wpkube (29.7%)

Code review

54 tests

User reviews

17 reviews

Install metrics

10,000+ active / 427,889 total downloads


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.36MB] [CPU: ▼139.47ms] Passed 4 tests

An overview of server-side resources used by Social Sharing Plugin - Kiwi
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.24 ▲0.4034.94 ▲11.12
Dashboard /wp-admin3.46 ▲0.4034.43 ▼2.80
Posts /wp-admin/edit.php3.51 ▲0.4035.39 ▲5.93
Add New Post /wp-admin/post-new.php5.77 ▲0.3377.13 ▼564.55
Media Library /wp-admin/upload.php3.34 ▲0.3426.60 ▲3.53

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, 2 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Social Sharing Plugin - Kiwi
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,693 ▲9216.03 ▲0.344.98 ▼0.9674.96 ▼1.51
Dashboard /wp-admin2,954 ▲556.12 ▼0.03115.38 ▼18.90167.92 ▼3.90
Posts /wp-admin/edit.php2,767 ▲243.24 ▲0.0063.93 ▼1.21137.48 ▼0.13
Add New Post /wp-admin/post-new.php3,759 ▲2418.44 ▼0.13446.63 ▼5.82157.89 ▼5.06
Media Library /wp-admin/upload.php1,773 ▲215.50 ▲0.01145.17 ▼0.10185.38 ▲0.27

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: 2 options
    • kiwi_general_settings
    • kiwi_social_sharing_version

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


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
Please take inspiration from this readme.txt

kiwi-social-share/kiwi-social-share.php 92% from 13 tests

"Social Sharing Plugin - Kiwi" version 2.1.5'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,635 lines of code in 66 files:
LanguageFilesBlank linesComment linesLines of code

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 code0.41
Average class complexity12.42
▷ Minimum class complexity1.00
▷ Maximum class complexity43.00
Average method complexity3.08
▷ Minimum method complexity1.00
▷ Maximum method complexity30.00
Code structure
▷ Abstract classes26.90%
▷ Concrete classes2793.10%
▷ Final classes1451.85%
▷ Static methods1910.67%
▷ Public methods17397.19%
▷ Protected methods00.00%
▷ Private methods52.81%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.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
FileSize - originalSize - compressedSavings
assets/img/back-wavy.png3.65KB2.15KB▼ 41.03%
assets/img/mix.png1.08KB0.19KB▼ 82.64%