89% 24liveblog

Code Review | 24liveblog - live blog tool

WordPress plugin 24liveblog - live blog tool scored 89% from 54 tests.

About plugin

  • Plugin page: 24liveblog
  • Plugin version: 2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.1
  • WordPress version: 6.3.1
  • First release: Jul 24, 2013
  • Latest release: Mar 7, 2023
  • Number of updates: 46
  • Update frequency: every 76.4 days
  • Top authors: 24liveblog (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

900+ active / 32,171 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.26MB] [CPU: ▼15.29ms] Passed 4 tests

An overview of server-side resources used by 24liveblog - live blog tool
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.79 ▼6.50
Dashboard /wp-admin3.32 ▲0.0146.48 ▼0.43
Posts /wp-admin/edit.php3.37 ▲0.0149.33 ▼17.14
Add New Post /wp-admin/post-new.php4.83 ▼1.0654.35 ▼37.10
Media Library /wp-admin/upload.php3.24 ▲0.0135.95 ▲1.10
24liveblog /wp-admin/options-general.php?page=lb24_plugin3.2533.39

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for 24liveblog - live blog tool
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲6213.23 ▼1.041.65 ▼0.3840.55 ▼7.81
Dashboard /wp-admin2,212 ▲275.00 ▼0.03104.13 ▲1.2538.31 ▼7.97
Posts /wp-admin/edit.php2,095 ▲31.99 ▼0.0039.37 ▲2.1536.30 ▼8.10
Add New Post /wp-admin/post-new.php6,423 ▲4,90623.58 ▲6.08966.04 ▲305.1053.25 ▲7.18
Media Library /wp-admin/upload.php1,394 ▲34.18 ▼0.0195.78 ▼6.1844.55 ▲1.36
24liveblog /wp-admin/options-general.php?page=lb24_plugin8432.0626.2227.30

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Please add images for these screenshots: #1 (Live blog demo), #2 (Event creation), #3 (Live blog)
Please take inspiration from this readme.txt

24liveblog/plugin.php 85% from 13 tests

The main PHP script in "24liveblog - live blog tool" version 2.2 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("24liveblog.php" instead of "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
There were no executable files found in this plugin9,583 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
JSON2007,132
JavaScript43059301,133
CSS42823547
Sass3661427
PHP43069258
SVG70569
Markdown18017

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 5.32MB with 3.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/lb24-logo.png22.00KB7.47KB▼ 66.03%
screenshot-1.png2,729.61KB828.11KB▼ 69.66%
screenshot-3.png2,177.05KB686.58KB▼ 68.46%
assets/lb24-logo-white.png7.39KB3.87KB▼ 47.69%
screenshot-2.png515.91KB148.17KB▼ 71.28%