57% meeting-scheduler-by-vcita

Code Review | Online Booking & Scheduling Calendar for WordPress by vcita

WordPress plugin Online Booking & Scheduling Calendar for WordPress by vcita scored57%from 54 tests.

About plugin

  • Plugin page: meeting-scheduler...
  • Plugin version: 4.3.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3.1
  • WordPress version: 6.3.1
  • First release: Feb 16, 2012
  • Latest release: Sep 11, 2023
  • Number of updates: 518
  • Update frequency: every 8.2 days
  • Top authors: vCita (88.61%)warolv (5.02%)erel (4.25%)yoffegil (1.74%)ehud.vcita (1.16%)

Code review

54 tests

User reviews

117 reviews

Install metrics

3,000+ active /410,186 total downloads

Benchmarks

Plugin footprint 48% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▼0.45MB] [CPU: ▼20.03ms] Passed 4 tests

A check of server-side resources used by Online Booking & Scheduling Calendar for WordPress by vcita
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.69 ▲0.2228.59 ▼12.57
Dashboard /wp-admin3.55 ▲0.2152.52 ▼10.10
Posts /wp-admin/edit.php3.66 ▲0.3151.57 ▼2.69
Add New Post /wp-admin/post-new.php3.43 ▼2.4640.20 ▼54.74
Media Library /wp-admin/upload.php3.47 ▲0.2450.75 ▲16.45
vCita Online Scheduling /wp-admin/admin.php?page=meeting-scheduler-by-vcita/vcita-settings-functions.php3.3531.37

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 158 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
vcita_scheduler
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Online Booking & Scheduling Calendar for WordPress by vcita
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,895 ▲13413.45 ▼0.933.53 ▲1.8630.85 ▼16.03
Dashboard /wp-admin2,280 ▲745.29 ▲0.40118.92 ▲12.3169.36 ▲27.44
Posts /wp-admin/edit.php2,174 ▲712.42 ▲0.3651.84 ▲12.4838.73 ▲1.79
Add New Post /wp-admin/post-new.php6,509 ▲4,95523.03 ▲4.921,077.30 ▲465.2742.07 ▼12.97
Media Library /wp-admin/upload.php1,465 ▲684.51 ▲0.33115.26 ▲12.5990.78 ▲47.72
vCita Online Scheduling /wp-admin/admin.php?page=meeting-scheduler-by-vcita/vcita-settings-functions.php1,8002.1249.45175.18

Uninstaller [IO: ▲9.83MB] [DB: ▲0.00MB] 25% 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 cannot be uninstalled
    • > Compile error in wp-content/plugins/meeting-scheduler-by-vcita/uninstall.php+6
    Cannot redeclare wpshd_vcita_trash_contact_page() (previously declared in wp-content/plugins/meeting-scheduler-by-vcita/vcita-utility-functions.php:393)
  • The plugin did not uninstall successfully, leaving 158 files (9.83MB) in the plugin directory
    • (new file) assets/extra/colorpicker/css/colorpicker.css
    • (new file) .idea/workspace.xml
    • (new file) .idea/encodings.xml
    • (new file) assets/extra/colorpicker/images/blank.gif
    • (new file) .idea/codeStyles/codeStyleConfig.xml
    • (new file) assets/extra/colorpicker/css/layout.css
    • (new file) .idea/misc.xml
    • (new file) .idea/meeting-scheduler-by-vcita.iml
    • (new file) .idea/deployment.xml
    • (new file) .idea/modules.xml
    • ...
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • vcita_scheduler
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • recovery_mode_email_last_sent

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=meeting-scheduler-by-vcita/vcita-settings-functions.php
    • > User deprecated in wp-includes/functions.php+5453
    Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.

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
  • 11× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/meeting-scheduler-by-vcita/php_assets/admin_header.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/meeting-scheduler-by-vcita/pages/vcita-custom-impl.php:2
    • > PHP Warning
      Use of undefined constant WPSHD_VCITA_ASSETS_PATH - assumed 'WPSHD_VCITA_ASSETS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meeting-scheduler-by-vcita/php_assets/admin_footer.php on line 11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/meeting-scheduler-by-vcita/pages/vcita-add-to-site.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/meeting-scheduler-by-vcita/pages/vcita-premium.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/meeting-scheduler-by-vcita/pages/vcita-main.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/meeting-scheduler-by-vcita/php_assets/admin_scripts.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meeting-scheduler-by-vcita/vcita-ajax-function.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/meeting-scheduler-by-vcita/pages/vcita-support.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/meeting-scheduler-by-vcita/php_assets/admin_footer.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (2.), #3 ()
The official readme.txt might help

meeting-scheduler-by-vcita/vcita-scheduler.php 85% from 13 tests

"Online Booking & Scheduling Calendar for WordPress by vcita" version 4.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("meeting-scheduler-by-vcita.php" instead of "vcita-scheduler.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 213 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected16,639 lines of code in 76 files:
LanguageFilesBlank linesComment linesLines of code
PO File102,4672,6837,049
JavaScript128886824,667
PHP15343503,165
XML700838
CSS11229497
SVG2100423

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.76
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%
Functions58
▷ Named functions58100.00%
▷ Anonymous functions00.00%
Constants24
▷ Global constants24100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
47 PNG files occupy 0.61MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png192.63KB61.50KB▼ 68.07%
images/assets/google-2015-logo.png1.26KB1.28KB0.00%
assets/extra/colorpicker/images/custom_rgb_b.png0.98KB0.74KB▼ 25.00%
assets/extra/colorpicker/images/slider.png0.31KB1.51KB0.00%
assets/extra/colorpicker/images/colorpicker_rgb_r.png1.04KB0.77KB▼ 26.17%