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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 28.59 ▼12.57 |
Dashboard /wp-admin | 3.55 ▲0.21 | 52.52 ▼10.10 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 51.57 ▼2.69 |
Add New Post /wp-admin/post-new.php | 3.43 ▼2.46 | 40.20 ▼54.74 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 50.75 ▲16.45 |
vCita Online Scheduling /wp-admin/admin.php?page=meeting-scheduler-by-vcita/vcita-settings-functions.php | 3.35 | 31.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲134 | 13.45 ▼0.93 | 3.53 ▲1.86 | 30.85 ▼16.03 |
Dashboard /wp-admin | 2,280 ▲74 | 5.29 ▲0.40 | 118.92 ▲12.31 | 69.36 ▲27.44 |
Posts /wp-admin/edit.php | 2,174 ▲71 | 2.42 ▲0.36 | 51.84 ▲12.48 | 38.73 ▲1.79 |
Add New Post /wp-admin/post-new.php | 6,509 ▲4,955 | 23.03 ▲4.92 | 1,077.30 ▲465.27 | 42.07 ▼12.97 |
Media Library /wp-admin/upload.php | 1,465 ▲68 | 4.51 ▲0.33 | 115.26 ▲12.59 | 90.78 ▲47.72 |
vCita Online Scheduling /wp-admin/admin.php?page=meeting-scheduler-by-vcita/vcita-settings-functions.php | 1,800 | 2.12 | 49.45 | 175.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 itemsThis plugin did not uninstall successfully, leaving 8 options in the database
- 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
- ...
- 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
- > PHP Fatal error
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 ()
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 2,467 | 2,683 | 7,049 |
JavaScript | 12 | 888 | 682 | 4,667 |
PHP | 15 | 343 | 50 | 3,165 |
XML | 7 | 0 | 0 | 838 |
CSS | 11 | 22 | 9 | 497 |
SVG | 21 | 0 | 0 | 423 |
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 code | 0.76 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 24 | |
▷ Global constants | 24 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 192.63KB | 61.50KB | ▼ 68.07% |
images/assets/google-2015-logo.png | 1.26KB | 1.28KB | 0.00% |
assets/extra/colorpicker/images/custom_rgb_b.png | 0.98KB | 0.74KB | ▼ 25.00% |
assets/extra/colorpicker/images/slider.png | 0.31KB | 1.51KB | 0.00% |
assets/extra/colorpicker/images/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |