83% 10to8-online-booking

Code Review | Sign In Scheduling Online Appointment Booking System

WordPress plugin Sign In Scheduling Online Appointment Booking System scored83%from 54 tests.

About plugin

  • Plugin page: 10to8-online-booking
  • Plugin version: 1.0.9
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-6.3.1
  • WordPress version: 6.3.1
  • First release: Feb 8, 2016
  • Latest release: Oct 3, 2023
  • Number of updates: 26
  • Update frequency: every 107.7 days
  • Top authors: 10to8 (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /24,519 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.58ms] Passed 4 tests

This is a short check of server-side resources used by Sign In Scheduling Online Appointment Booking System
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.60 ▼7.93
Dashboard /wp-admin3.31 ▲0.0151.59 ▼4.91
Posts /wp-admin/edit.php3.37 ▲0.0050.11 ▼2.11
Add New Post /wp-admin/post-new.php5.90 ▲0.0086.77 ▼7.36
Media Library /wp-admin/upload.php3.24 ▲0.0037.38 ▲1.25

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Sign In Scheduling Online Appointment Booking System: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.25 ▼0.102.14 ▲0.3545.68 ▲1.13
Dashboard /wp-admin2,192 ▲125.64 ▼0.0387.01 ▼16.2543.09 ▼1.47
Posts /wp-admin/edit.php2,103 ▲31.97 ▼0.0337.77 ▼0.0733.47 ▼0.65
Add New Post /wp-admin/post-new.php1,537 ▲1118.39 ▼4.96626.75 ▼55.1872.34 ▲13.48
Media Library /wp-admin/upload.php1,400 ▲64.21 ▲0.02109.21 ▲3.6547.30 ▲0.85

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/10to8-online-booking/10to8-online-appointment-booking.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
  • Contributors: The plugin contributors field is not present
You can take inspiration from this readme.txt

10to8-online-booking/10to8-online-appointment-booking.php 85% from 13 tests

Analyzing the main PHP file in "Sign In Scheduling Online Appointment Booking System" version 1.0.9
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 283 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("10to8-online-booking.php" instead of "10to8-online-appointment-booking.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin30 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP15825
JavaScript1005

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.00
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin