99% 24liveblog

Code Review | 24liveblog - live blog tool

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

About plugin

  • Plugin page: 24liveblog
  • Plugin version: 2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.7
  • WordPress version: 5.9.2
  • First release: Jul 24, 2013
  • Latest release: Apr 28, 2021
  • Number of updates: 45
  • Update frequency: every 63.0 days
  • Top authors: 24liveblog (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

900+ active / 28,360 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.24MB] [CPU: ▼311.31ms] Passed 4 tests

Analyzing server-side resources used by 24liveblog - live blog tool
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0260.14 ▲8.02
Dashboard /wp-admin3.43 ▲0.0331.56 ▼1.42
Posts /wp-admin/edit.php3.66 ▲0.0234.49 ▼2.86
Add New Post /wp-admin/post-new.php5.98 ▼0.9961.15 ▼1,234.82
Media Library /wp-admin/upload.php3.31 ▲0.0124.83 ▼6.13
24liveblog /wp-admin/options-general.php?page=lb24_plugin3.3222.05

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

24liveblog - live blog tool: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,802 ▲4916.17 ▲0.556.51 ▲0.282.83 ▼0.22
Dashboard /wp-admin2,899 ▲386.10 ▼0.08117.53 ▼16.19158.52 ▼2.75
Posts /wp-admin/edit.php2,695 ▲13.23 ▼0.0063.36 ▼1.96140.73 ▼1.61
Add New Post /wp-admin/post-new.php1,816 ▲15526.21 ▲9.70422.58 ▲10.88160.27 ▲2.92
Media Library /wp-admin/upload.php1,702 ▲75.52 ▼0.01144.13 ▼3.40187.48 ▼9.23
24liveblog /wp-admin/options-general.php?page=lb24_plugin1,0472.4353.09114.85

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Screenshots: These screenshots do not have images: #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 entry point to "24liveblog - live blog tool" version 2.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
  • Main file name: Even though not officially enforced, the main 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 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected9,583 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues 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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions8100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
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
screenshot-2.png515.91KB148.17KB▼ 71.28%
screenshot-1.png2,729.61KB828.11KB▼ 69.66%
screenshot-3.png2,177.05KB686.58KB▼ 68.46%
assets/lb24-logo.png22.00KB7.47KB▼ 66.03%
assets/lb24-logo-white.png7.39KB3.87KB▼ 47.69%