Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼3.19ms] Passed 4 tests
A check of server-side resources used by Online Payments - Get Paid with PayPal, Square & Stripe
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 41.77 ▼2.63 |
Dashboard /wp-admin | 3.57 ▲0.27 | 49.36 ▼4.50 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 50.92 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 89.40 ▼6.15 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.66 ▲1.67 |
/wp-admin/admin.php?page=live-site-parse-vcita-callback | 3.38 | 33.48 |
/wp-admin/admin.php?page=live-site-reset-plugin | 3.55 | 48.42 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
livesite_plugin_settings |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Online Payments - Get Paid with PayPal, Square & Stripe: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲16 | 14.19 ▲0.01 | 1.72 ▼0.64 | 42.26 ▼5.55 |
Dashboard /wp-admin | 2,191 ▲17 | 5.56 ▲0.01 | 84.48 ▼11.07 | 79.46 ▲38.74 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 1.97 ▲0.01 | 32.87 ▼1.95 | 32.75 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 20.87 ▼2.27 | 663.80 ▼21.91 | 49.24 ▼2.23 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.17 ▼0.01 | 95.99 ▼9.44 | 68.25 ▲23.16 |
/wp-admin/admin.php?page=live-site-parse-vcita-callback | 2,048 | 3.21 | 43.50 | 91.24 |
/wp-admin/admin.php?page=live-site-reset-plugin | 1,702 | 2.37 | 30.07 | 98.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=live-site-parse-vcita-callback
- > Notice in wp-content/plugins/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-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/paypal-payment-button-by-vcita/plugin_init.php+118
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
Please fix the following items
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/paypal-payment-button-by-vcita/Livesite.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/paypal-payment-button-by-vcita/core/ajax_api.php:42
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/paypal-payment-button-by-vcita/system/settings_page.php:37
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/paypal-payment-button-by-vcita/system/backoffice_page.php:42
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/paypal-payment-button-by-vcita/system/parse_vcita_callback.php:29
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/paypal-payment-button-by-vcita/system/reset_plugin.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/paypal-payment-button-by-vcita/modules/scheduler.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/paypal-payment-button-by-vcita/modules/form_builder.php:48
- > PHP Fatal error
Uncaught Error: Class 'ls_helpers' not found in wp-content/plugins/paypal-payment-button-by-vcita/core/sdk.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function ls_get_module_data() in wp-content/plugins/paypal-payment-button-by-vcita/modules/livesite_widget.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (**Customize and add your PayPal Payment Button**), #2 (**Friendly payment experience for your clients** - Mobile ready payment process that would look great on any device), #3 (**Mobile Friendly payment experience for your clients**), #4 (**Issue invoices** - Create and send invoices to clients, track payment status in real time and send reminders for late payments), #5 (**A client portal for each client** - Clients can view their payment history, pay for pending invoices, and even book new appointments or services)
paypal-payment-button-by-vcita/Livesite.php 69% from 13 tests
The principal PHP file in "Online Payments - Get Paid with PayPal, Square & Stripe" v. 3.10.0 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: Please prefix the domain path with a forward slash character ("/")
- Description: Keep the plugin description shorter than 140 characters (currently 153 characters long)
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("paypal-payment-button-by-vcita.php" instead of "Livesite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected3,341 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,056 | 1,079 | 2,285 |
CSS | 4 | 98 | 23 | 777 |
JavaScript | 6 | 97 | 38 | 188 |
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
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 21 | |
▷ Named functions | 21 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.32MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 17.73KB | 8.28KB | ▼ 53.32% |
screenshot-3.png | 78.33KB | 37.42KB | ▼ 52.23% |
images/ls-payment-icons.png | 4.15KB | 2.38KB | ▼ 42.57% |
images/header-main.png | 43.71KB | 16.87KB | ▼ 61.40% |
images/vcita-icon.png | 0.50KB | 0.46KB | ▼ 7.95% |