100% live-blog-wp

Code Review | Live Blog WP - Easy WordPress Live Blogging

WordPress plugin Live Blog WP - Easy WordPress Live Blogging scored 100% from 54 tests.

About plugin

  • Plugin page: live-blog-wp
  • Plugin version: 1.0.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.6
  • WordPress version: 5.9.2
  • First release: Feb 17, 2021
  • Latest release: Mar 8, 2021
  • Number of updates: 10
  • Update frequency: every 1.9 days
  • Top authors: liveblogwp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 408 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼292.94ms] Passed 4 tests

This is a short check of server-side resources used by Live Blog WP - Easy WordPress Live Blogging
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.65 ▲0.1354.20 ▲4.39
Dashboard /wp-admin3.50 ▲0.1039.99 ▼0.69
Posts /wp-admin/edit.php3.74 ▲0.1038.76 ▲0.13
Add New Post /wp-admin/post-new.php6.98 ▲0.01101.28 ▼1,168.94
Media Library /wp-admin/upload.php3.39 ▲0.1025.61 ▼2.26

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Live Blog WP - Easy WordPress Live Blogging
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,819 ▲7515.82 ▲0.225.78 ▼0.562.47 ▲0.05
Dashboard /wp-admin2,919 ▲586.13 ▼0.15117.23 ▼21.55152.58 ▼6.36
Posts /wp-admin/edit.php2,716 ▲223.24 ▲0.0065.66 ▲2.87140.71 ▲2.10
Add New Post /wp-admin/post-new.php1,773 ▲8322.69 ▲1.67416.02 ▼50.17159.60 ▲1.15
Media Library /wp-admin/upload.php1,725 ▲275.55 ▲0.08139.37 ▼5.02186.90 ▼0.70

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

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
Even though everything seems fine, this is not an exhaustive test

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
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 a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: liveblog, live blog, live blogging

live-blog-wp/live-blog-wp.php 92% from 13 tests

This is the main PHP file of "Live Blog WP - Easy WordPress Live Blogging" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected10,543 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
CSS102,8648,199
PHP105812212,205
JavaScript51525139

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity6.70
▷ Minimum class complexity1.00
▷ Maximum class complexity34.00
Average method complexity2.90
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces5
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods30
▷ Static methods1343.33%
▷ Public methods2996.67%
▷ Protected methods00.00%
▷ Private methods13.33%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants240.00%
▷ Class constants360.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin