Benchmarks
Plugin footprint 83% from 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.20MB] [CPU: ▼19.67ms] Passed 4 tests
A check of server-side resources used by Contact Form and Calls To Action by vcita
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 27.61 ▼18.38 |
Dashboard /wp-admin | 3.45 ▲0.10 | 51.36 ▼8.49 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.84 ▼3.88 |
Add New Post /wp-admin/post-new.php | 4.74 ▼1.15 | 42.44 ▼47.91 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.69 ▲2.80 |
/wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php | 3.34 | 32.33 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
vcita_scheduler |
widget_recent-comments |
vcita_schedulerinit |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form and Calls To Action by vcita
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲97 | 13.85 ▼0.81 | 8.23 ▲5.93 | 43.91 ▼1.58 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.09 | 87.55 ▼3.52 | 83.10 ▲42.67 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▼0.03 | 34.52 ▼2.37 | 32.89 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,693 ▲158 | 22.34 ▲4.00 | 750.65 ▲128.52 | 52.47 ▼15.40 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.15 ▼0.08 | 92.17 ▼12.40 | 77.34 ▲30.29 |
/wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php | 1,690 | 2.37 | 27.61 | 47.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- vcita_scheduler
- vcita_schedulerinit
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+2
Undefined index: success
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+3
Undefined index: uid
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+4
Undefined index: first_name
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+5
Undefined index: last_name
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+6
Undefined index: title
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+7
Undefined index: confirmation_token
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+8
Undefined index: confirmed
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+9
Undefined index: engage_delay
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+10
Undefined index: implementation_key
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php+11
Undefined index: email
- > GET request to /wp-admin/admin.php?page=lead-capturing-call-to-actions-by-vcita/vcita-callback.php
- > Notice in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-settings-functions.php+338
Undefined index: contact_page
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 31× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/modules/livesite_widget.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php:13
- > PHP Fatal error
require_once(): Failed opening required 'WP_PLUGIN_DIR/lead-capturing-call-to-actions-by-vcita/vcita-utility-functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/lead-capturing-call-to-actions.php on line 38
- > PHP Notice
Undefined index: implementation_key in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php on line 10
- > PHP Notice
Undefined index: success in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/core/ajax_api.php:42
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/core/sdk.php:13
- > PHP Notice
Undefined index: confirmed in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-callback.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function vcita_add_stylesheet() in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/vcita-livesite-widget-edit.php:2
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/lead-capturing-call-to-actions-by-vcita/system/backoffice_page.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (**Active Contact Form & Calls To Action** - Doubles the number of new business opportunities your website generate, and automatically streams them into your CRM.), #2 (**Full customization** - to perfectly match your business need and website theme.), #3 (**Client Records** - For every lead captured on your site a new "Client Card", including all information about the lead, is created. You can search for clients and leads, Mark the lead status and make follow-up actions: Schedule an appointment, send an invoice and more. right time for the right price. Appointments can be conducted at any location, by phone, via Skype or any online meeting.), #4 (**Manage & follow up with clients**), #5 (**Receive notifications for every new lead**)
lead-capturing-call-to-actions-by-vcita/lead-capturing-call-to-actions.php 92% from 13 tests
"Contact Form and Calls To Action by vcita" version 2.7.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("lead-capturing-call-to-actions-by-vcita.php" instead of "lead-capturing-call-to-actions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,163 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,249 | 1,217 | 3,410 |
CSS | 5 | 220 | 31 | 1,470 |
JavaScript | 6 | 97 | 38 | 188 |
JSON | 1 | 0 | 0 | 72 |
SVG | 1 | 0 | 0 | 19 |
INI | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 123 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 64 | |
▷ Named functions | 64 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 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
18 PNG files occupy 1.02MB with 0.71MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 437.44KB | 32.63KB | ▼ 92.54% |
screenshot-5.png | 426.70KB | 43.74KB | ▼ 89.75% |
images/gear.png | 1.20KB | 0.47KB | ▼ 60.84% |
images/header-main.png | 31.86KB | 12.50KB | ▼ 60.76% |
images/ls-payment-icons.png | 4.15KB | 2.38KB | ▼ 42.57% |