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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼146.32ms] Passed 4 tests
Analyzing server-side resources used by Contact Form Builder by vcita
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 23.77 ▲0.26 |
Dashboard /wp-admin | 3.10 ▲0.04 | 37.73 ▼5.53 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 31.00 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 67.98 ▼578.55 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 24.23 ▲1.09 |
/wp-admin/admin.php?page=live-site-parse-vcita-callback | 2.99 | 21.29 |
/wp-admin/admin.php?page=live-site-reset-plugin | 3.08 | 31.17 |
Server storage [IO: ▲1.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 53 new files
Database: no new tables, 1 new option
New WordPress options |
---|
livesite_plugin_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form Builder by vcita
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲82 | 15.86 ▲0.06 | 5.12 ▼0.34 | 72.86 ▼6.13 |
Dashboard /wp-admin | 2,946 ▲53 | 6.09 ▼0.10 | 115.69 ▼18.41 | 180.21 ▲8.17 |
Posts /wp-admin/edit.php | 2,721 ▲15 | 3.14 ▼0.10 | 64.66 ▼0.09 | 141.42 ▲1.10 |
Add New Post /wp-admin/post-new.php | 2,509 ▼1,226 | 16.73 ▼1.02 | 389.27 ▼39.43 | 169.66 ▲5.44 |
Media Library /wp-admin/upload.php | 1,763 ▲11 | 5.55 ▼0.00 | 131.48 ▼14.13 | 194.09 ▲9.85 |
/wp-admin/admin.php?page=live-site-parse-vcita-callback | 2,973 | 27.97 | 938.38 | 254.78 |
/wp-admin/admin.php?page=live-site-reset-plugin | 2,083 | 3.55 | 69.49 | 260.09 |
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
Uninstall script ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+57
Undefined index: success
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+58
Undefined index: uid
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+59
Undefined index: first_name
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+60
Undefined index: last_name
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+61
Undefined index: title
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+62
Undefined index: confirmation_token
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+63
Undefined index: confirmed
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+64
Undefined index: engage_delay
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+65
Undefined index: implementation_key
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php+66
Undefined index: email
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/plugin_init.php+121
Undefined index: plugin_initially_activated
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/core/sidebar_widget.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/modules/payments.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/modules/livesite_widget.php:48
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/core/sdk.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/modules/form_builder.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/core/ajax_api.php:42
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/parse_vcita_callback.php:29
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/system/backoffice_page.php:42
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/core/shortcodes.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/contact-form-with-a-meeting-scheduler-by-vcita/Livesite.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Rendering (warning) in unknown
https://d2ra6nuwn69ktl.cloudfront.net/assets/application-31a9c2d656722f02ed36a93fc97f98c3.js 28 The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Console-api (warning) in unknown
https://connect.facebook.net/en_US/fbevents.js 23:37724 "[Meta Pixel] - Duplicate Pixel ID: 1403135116654645."
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Console-api (warning) in unknown
https://connect.facebook.net/en_US/fbevents.js 23:37724 "[Meta Pixel] - Duplicate Pixel ID: 746258388811076."
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Network (severe)
https://alb.reddit.com/rp.gif?ts=1646960774385&id=t2_5lxbg27i&event=PageVisit&m.itemCount=&m.value=&m.valueDecimal=&m.currency=&m.transactionId=&m.customEventName=&uuid=b9e93257-03be-436c-87e1-aee8f7fa2988&aaid=&em=&external_id=&idfa=&integration=reddit&opt_out=0&sh=800&sw=600&v=rdt_da535582 - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (**vcita Contact Form** - Fully customized form, with several layout options and full customization.), #2 (**Proactive Contact Form** - Don't wait for visitors to contact you, approach them on any page and double your leads!), #3 (**Customize colors and fonts** - Customize your contact form's colors, border styles, fonts and sizes.), #4 (**Multiple Layout Options to choose from** - Create the contact form that best fits your website. Your contact form can include different info and actions.), #5 (**Custom Fields** - Add, Edit and Remove fields with a simple drag and drop UI.), #6 (**Customize colors and fonts** - Customize your contact form's colors, border styles, fonts and sizes.), #7 (**View full correspondence** - View all client requests in one place, where you can also take action - reply, schedule a follow-up meeting and send an invoice.), #8 (**Track and Manage contacts** - Keep history of contacts, manage contact details and track whether your messages are read by clients.)
contact-form-with-a-meeting-scheduler-by-vcita/Livesite.php 92% from 13 tests
The main PHP file in "Contact Form Builder by vcita" ver. 4.9.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("contact-form-with-a-meeting-scheduler-by-vcita.php" instead of "Livesite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected4,049 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,091 | 1,105 | 2,385 |
CSS | 5 | 193 | 31 | 1,372 |
JavaScript | 6 | 105 | 41 | 201 |
JSON | 1 | 0 | 0 | 72 |
SVG | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 8.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 129 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.72MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vcita-logo.png | 1.03KB | 1.32KB | 0.00% |
images/vcita-icon.png | 0.50KB | 0.46KB | ▼ 7.95% |
images/header-main.png | 31.86KB | 12.50KB | ▼ 60.76% |
screenshot-6.png | 140.52KB | 59.71KB | ▼ 57.51% |
screenshot-7.png | 93.25KB | 43.05KB | ▼ 53.83% |