99% social-blend

Code Review | Social Blend: Show all your social media posts in a beautiful feed.

WordPress plugin Social Blend: Show all your social media posts in a beautiful feed. scored 99% from 54 tests.

About plugin

  • Plugin page: social-blend
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8
  • WordPress version: 5.8.1
  • First release: Sep 25, 2020
  • Latest release: Nov 14, 2021
  • Number of updates: 9
  • Update frequency: every 46.1 days
  • Top authors: socialblendio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 288 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼141.64ms] Passed 4 tests

This is a short check of server-side resources used by Social Blend: Show all your social media posts in a beautiful feed.
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.0344.30 ▲5.40
Dashboard /wp-admin3.10 ▲0.0551.58 ▼0.50
Posts /wp-admin/edit.php3.15 ▲0.0556.40 ▲4.24
Add New Post /wp-admin/post-new.php5.46 ▲0.0399.84 ▼572.13
Media Library /wp-admin/upload.php3.04 ▲0.0440.03 ▲1.84

Server storage [IO: ▲0.01MB] [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: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Social Blend: Show all your social media posts in a beautiful feed.: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,699 ▲10315.84 ▲0.5812.21 ▼1.0953.55 ▼2.22
Dashboard /wp-admin3,009 ▲756.02 ▲0.02155.95 ▼24.80114.27 ▼2.90
Posts /wp-admin/edit.php2,759 ▲202.71 ▼0.0273.06 ▼9.5892.90 ▼5.81
Add New Post /wp-admin/post-new.php1,628 ▼5521.46 ▲5.75329.12 ▼111.78111.35 ▼5.72
Media Library /wp-admin/upload.php1,827 ▲205.01 ▼0.02174.35 ▼0.64118.61 ▼5.31

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully

Smoke tests Passed 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)
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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% 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 require attention:
  • Screenshots: These screenshots do not have images: #1 (An example Juicer Feed using a provided template), #2 (An example of a Social Blend feed.), #3 (Social Blend website editing a feed.)
  • Tags: Please delete some tags, you are using 36 tag instead of maximum 10
You can take inspiration from this readme.txt

social-blend/socialblend.php 85% from 13 tests

The main file in "Social Blend: Show all your social media posts in a beautiful feed." v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("social-blend.php" instead of "socialblend.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin235 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP45240235

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity9.00
▷ Minimum class complexity3.00
▷ Maximum class complexity20.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods14
▷ Static methods17.14%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin