94% bookinglive-connect-integration

Code Review | BookingLive Free Online Booking & Scheduling System

WordPress plugin BookingLive Free Online Booking & Scheduling System scored 94% from 54 tests.

About plugin

  • Plugin page: bookinglive-conne...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5.1
  • WordPress version: 5.8.1
  • First release: Nov 11, 2019
  • Latest release: Oct 15, 2020
  • Number of updates: 17
  • Update frequency: every 23.1 days
  • Top authors: bookingLive (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 358 total downloads


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
Installer ran successfully

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

This is a short check of server-side resources used by BookingLive Free Online Booking & Scheduling System
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1531.79 ▲10.21
Dashboard /wp-admin3.10 ▲0.0449.80 ▲3.56
Posts /wp-admin/edit.php3.15 ▲0.0443.00 ▼3.93
Add New Post /wp-admin/post-new.php5.46 ▲0.0290.24 ▼566.14
Media Library /wp-admin/upload.php3.04 ▲0.0434.17 ▲7.88
Booking Pages /wp-admin/edit.php?post_type=book3.0828.65
Add New /wp-admin/post-new.php?post_type=book3.1447.77

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for BookingLive Free Online Booking & Scheduling System
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,737 ▲14115.81 ▲0.189.29 ▲0.1548.05 ▲7.88
Dashboard /wp-admin3,025 ▲915.95 ▼0.22132.93 ▼13.81103.92 ▼8.90
Posts /wp-admin/edit.php2,791 ▲522.73 ▲0.0166.74 ▼0.8287.90 ▼12.76
Add New Post /wp-admin/post-new.php1,651 ▼2121.98 ▲3.26269.14 ▼98.01108.20 ▲0.29
Media Library /wp-admin/upload.php1,862 ▲525.04 ▲0.03138.05 ▼5.03117.98 ▲1.02
Booking Pages /wp-admin/edit.php?post_type=book1,4612.6364.1478.46
Add New /wp-admin/post-new.php?post_type=book2,9348.92271.72160.09

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
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 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 50% from 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
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bookinglive-connect-integration/connect.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side


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
3 plugin tags: bookinglive connect, booking, bookinglive

bookinglive-connect-integration/connect.php 92% from 13 tests

The main PHP script in "BookingLive Free Online Booking & Scheduling System" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bookinglive-connect-integration.php" instead of "connect.php")

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
There were no executable files found in this plugin139 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.21
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 functions9100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin