Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.67ms] Passed 4 tests
An overview of server-side resources used by Sliding WooCommerce Cart by FunnelKit – Skip Cart & Reach WooCommerce Checkout Faster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.96 ▲0.88 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.50 ▼5.88 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.87 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 82.80 ▼11.74 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 36.12 ▼0.04 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 104 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Sliding WooCommerce Cart by FunnelKit – Skip Cart & Reach WooCommerce Checkout Faster
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲18 | 14.67 ▲0.50 | 1.68 ▼0.16 | 40.70 ▼4.04 |
Dashboard /wp-admin | 2,204 ▲27 | 5.52 ▼0.03 | 91.41 ▼9.73 | 41.74 ▼5.53 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.96 ▼0.04 | 41.11 ▼2.99 | 38.43 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,541 ▲5 | 23.55 ▲0.17 | 674.48 ▼1.98 | 57.51 ▲4.00 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▲0.06 | 121.33 ▲7.80 | 42.50 ▼4.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cart-for-woocommerce/templates/cart/placeholder.php
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/wooProductBundle.php:27
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/freeshipping.php:19
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/tablerate.php:30
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/paymentpluginstripe.php:21
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/wpml-multicurrency.php:57
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/shoptimizer.php:22
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/wcstripe.php:23
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/allproductsubscriptions.php:23
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/wcrewardpoints.php:39
- > PHP Fatal error
Uncaught Error: Class 'FKCart\\Compatibilities\\Compatibility' not found in wp-content/plugins/cart-for-woocommerce/compatibilities/chained.php:23
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in cart-for-woocommerce/assets to your readme.txt
cart-for-woocommerce/plugin.php 92% from 13 tests
The primary PHP file in "Sliding WooCommerce Cart by FunnelKit – Skip Cart & Reach WooCommerce Checkout Faster" version 1.3.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cart-for-woocommerce.php" instead of "plugin.php")
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
Success! There were no dangerous files found in this plugin4,442 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 844 | 1,224 | 4,398 |
CSS | 2 | 0 | 0 | 30 |
SVG | 2 | 0 | 1 | 10 |
JavaScript | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 1 | 3.12% |
Methods | 227 | |
▷ Static methods | 49 | 21.59% |
▷ Public methods | 209 | 92.07% |
▷ Protected methods | 12 | 5.29% |
▷ Private methods | 6 | 2.64% |
Functions | 17 | |
▷ Named functions | 13 | 76.47% |
▷ Anonymous functions | 4 | 23.53% |
Constants | 9 | |
▷ Global constants | 9 | 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
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/dummy/5.png | 4.14KB | 2.11KB | ▼ 48.89% |
admin/assets/img/dummy/2.png | 4.15KB | 1.99KB | ▼ 52.21% |
admin/assets/img/dummy/4.png | 3.53KB | 1.76KB | ▼ 50.03% |
admin/assets/img/dummy/1.png | 6.44KB | 2.92KB | ▼ 54.63% |
admin/assets/img/dummy/3.png | 6.26KB | 2.93KB | ▼ 53.21% |