10% showeblogin-facebook-page-like-box

Code Review | Showeblogin Social Plugin

WordPress plugin Showeblogin Social Plugin scored10%from 54 tests.

About plugin

  • Plugin page: showeblogin-faceb...
  • Plugin version: 6.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.3.1
  • WordPress version: 6.3.1
  • First release: May 13, 2015
  • Latest release: Sep 17, 2023
  • Number of updates: 269
  • Update frequency: every 11.3 days
  • Top authors: SureshPrasad (100%)

Code review

54 tests

User reviews

50 reviews

Install metrics

1,000+ active /48,335 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php+42
    Creating default object from empty value

Server metrics [RAM: ▼1.65MB] [CPU: ▼59.15ms] Passed 4 tests

Server-side resources used by Showeblogin Social Plugin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.34 ▼1.136.60 ▼38.70
Dashboard /wp-admin2.36 ▼0.9512.24 ▼57.68
Posts /wp-admin/edit.php2.36 ▼1.006.18 ▼43.95
Add New Post /wp-admin/post-new.php2.36 ▼3.536.80 ▼96.27
Media Library /wp-admin/upload.php2.36 ▼0.877.54 ▼30.77

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_spsmiter_facebook

Browser metrics Passed 4 tests

Checking browser requirements for Showeblogin Social Plugin
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8314.80 ▲0.502.19 ▲0.2543.90 ▼1.09
Dashboard /wp-admin2,208 ▲174.87 ▼1.03118.29 ▲16.9046.77 ▲2.94
Posts /wp-admin/edit.php2,088 ▼12.05 ▲0.0533.71 ▼4.9633.96 ▲0.80
Add New Post /wp-admin/post-new.php1,535 ▲1823.36 ▲5.75684.16 ▲33.8560.47 ▲4.19
Media Library /wp-admin/upload.php1,390 ▲54.20 ▲0.02107.70 ▲6.9746.10 ▲5.70

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
  • This plugin cannot be uninstalled
    • > Warning in wp-content/plugins/showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php+42
    Creating default object from empty value
  • This plugin does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • widget_spsmiter_facebook

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: showeblogin, facebook plugin, social widget, facebook social, facebook...

showeblogin-facebook-page-like-box/showeblogin-facebook-page-plugin.php 92% from 13 tests

The main file in "Showeblogin Social Plugin" v. 6.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("showeblogin-facebook-page-like-box.php" instead of "showeblogin-facebook-page-plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin373 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP31520358
CSS21015

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.04
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin