Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.47MB] [CPU: ▼300.65ms] Passed 4 tests
This is a short check of server-side resources used by Limelight Checkout
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.58 ▲4.07 | 73.12 ▲18.68 |
Dashboard /wp-admin | 3.82 ▲0.42 | 38.56 ▲5.02 |
Posts /wp-admin/edit.php | 4.11 ▲0.47 | 43.60 ▲6.48 |
Add New Post /wp-admin/post-new.php | 3.71 ▼3.26 | 31.55 ▼1,215.85 |
Media Library /wp-admin/upload.php | 3.77 ▲0.48 | 29.01 ▲1.77 |
Limelight Logs /wp-admin/edit.php?post_type=ld-forms-log | 3.81 | 29.16 |
Subscriptions /wp-admin/edit.php?post_type=ld-checkout-sub | 3.81 | 31.41 |
Licenses /wp-admin/edit.php?post_type=ld-checkout-license | 3.81 | 30.25 |
Forms /wp-admin/edit.php?post_type=ld-checkout-form | 3.81 | 33.43 |
Products /wp-admin/edit.php?post_type=ld-checkout-product | 3.81 | 32.12 |
Coupons /wp-admin/edit.php?post_type=ld-checkout-coupon | 3.81 | 32.66 |
Integrations /wp-admin/edit.php?post_type=ld-checkout-order&page=ll_checkout_integrations | 3.90 | 32.33 |
Orders /wp-admin/edit.php?post_type=ld-checkout-order | 3.81 | 42.20 |
Server storage [IO: ▲26.63MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Total filesystem usage should be limited to 25MB (currently using 26.63MB)
Filesystem: 340 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ll_checkout_migrations |
Browser metrics Passed 4 tests
Limelight Checkout: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,211 ▲456 | 35.34 ▲19.71 | 148.47 ▲142.07 | 2.99 ▲0.47 |
Dashboard /wp-admin | 3,251 ▲390 | 21.34 ▲15.07 | 249.95 ▲112.00 | 161.77 ▼52.89 |
Posts /wp-admin/edit.php | 2,965 ▲277 | 18.85 ▲15.61 | 186.75 ▲118.20 | 141.72 ▼2.04 |
Add New Post /wp-admin/post-new.php | 2,222 ▲506 | 34.66 ▲13.93 | 587.70 ▲101.72 | 160.45 ▼2.44 |
Media Library /wp-admin/upload.php | 1,978 ▲280 | 20.97 ▲15.43 | 263.26 ▲119.49 | 191.97 ▼1.38 |
Limelight Logs /wp-admin/edit.php?post_type=ld-forms-log | 1,667 | 18.81 | 181.05 | 113.02 |
Subscriptions /wp-admin/edit.php?post_type=ld-checkout-sub | 1,701 | 18.82 | 180.46 | 113.46 |
Licenses /wp-admin/edit.php?post_type=ld-checkout-license | 1,778 | 18.82 | 181.37 | 120.72 |
Forms /wp-admin/edit.php?post_type=ld-checkout-form | 1,692 | 18.89 | 182.11 | 112.41 |
Products /wp-admin/edit.php?post_type=ld-checkout-product | 1,604 | 18.81 | 183.33 | 116.52 |
Coupons /wp-admin/edit.php?post_type=ld-checkout-coupon | 1,674 | 18.74 | 180.24 | 110.67 |
Integrations /wp-admin/edit.php?post_type=ld-checkout-order&page=ll_checkout_integrations | 1,617 | 19.90 | 204.96 | 110.13 |
Orders /wp-admin/edit.php?post_type=ld-checkout-order | 1,673 | 18.81 | 181.51 | 112.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 1 option in the database
- ll_checkout_migrations
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/builder.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/options.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/events.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/public/form.php
- > /wp-content/plugins/limelight-checkout/views/products.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/meta.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/layout.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/settings.php
- > /wp-content/plugins/limelight-checkout/views/account.php
- > /wp-content/plugins/limelight-checkout/vendor/limelight/forms/views/admin/styles.php
- 79× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Elements/Tab.php:6
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Elements/AccordionItem.php:7
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Elements/Group.php:7
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Events\\Event' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Events/WPLogin.php:9
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\ComboBox' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Elements/FontSelect.php:6
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Events\\Event' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Events/Mail.php:7
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Element' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Elements/ComboBox.php:5
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Events\\Event' not found in wp-content/plugins/limelight-checkout/app/Events/ApplyCoupon.php:11
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Events\\Event' not found in wp-content/plugins/limelight-checkout/vendor/limelight/forms/app/Events/Custom.php:9
- > PHP Fatal error
Uncaught Error: Class 'Limelight\\Forms\\Elements\\Group' not found in wp-content/plugins/limelight-checkout/app/Elements/Coupon.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Donate link: Invalid URI found ("")
limelight-checkout/index.php 85% from 13 tests
The main PHP script in "Limelight Checkout" version 1.2.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Git Repository: Please remove the Git repository from this plugin
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("limelight-checkout.php" instead of "index.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 detected119,933 lines of code in 271 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 160 | 4,256 | 3,223 | 42,778 |
JSON | 11 | 0 | 0 | 29,777 |
JavaScript | 26 | 3,890 | 1,761 | 28,490 |
SVG | 6 | 0 | 0 | 13,815 |
Vuejs Component | 55 | 530 | 17 | 2,727 |
Sass | 5 | 212 | 6 | 2,302 |
Markdown | 4 | 16 | 0 | 38 |
CSS | 4 | 0 | 34 | 6 |
PHP code Passed 2 tests
A brief analysis 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.34 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 120 | |
▷ Abstract classes | 1 | 0.83% |
▷ Concrete classes | 119 | 99.17% |
▷ Final classes | 4 | 3.36% |
Methods | 633 | |
▷ Static methods | 264 | 41.71% |
▷ Public methods | 563 | 88.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 70 | 11.06% |
Functions | 123 | |
▷ Named functions | 112 | 91.06% |
▷ Anonymous functions | 11 | 8.94% |
Constants | 20 | |
▷ Global constants | 14 | 70.00% |
▷ Class constants | 6 | 30.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin