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.00MB] [CPU: ▼4.24ms] Passed 4 tests
An overview of server-side resources used by Linear Checkout for WooCommerce by Cartimize
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.54 ▼3.77 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.53 ▲3.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.80 ▲0.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.63 ▼13.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.09 ▲0.17 |
Cartimize /wp-admin/admin.php?page=cartimize-pro-onboarding | 3.00 | 24.17 |
Cartimize /wp-admin/admin.php?page=cartimize-login | 3.00 | 20.41 |
Server storage [IO: ▲5.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 158 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Linear Checkout for WooCommerce by Cartimize
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,984 ▲249 | 17.39 ▲3.00 | 1.55 ▼0.28 | 39.53 ▼7.05 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▼0.00 | 107.15 ▼10.23 | 38.90 ▼2.93 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 46.51 ▲8.35 | 38.10 ▲2.45 |
Add New Post /wp-admin/post-new.php | 1,519 ▼14 | 23.27 ▲0.23 | 712.90 ▲9.51 | 55.88 ▲0.82 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.18 ▼0.00 | 87.82 ▼10.17 | 42.12 ▼1.51 |
Cartimize /wp-admin/admin.php?page=cartimize-pro-onboarding | 28 | 0.44 | 0.07 | 3.83 |
Cartimize /wp-admin/admin.php?page=cartimize-login | 28 | 0.44 | 0.06 | 4.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 86× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Core\\ActionCore' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Actions/LogInAction.php:11
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Compatibility\\Core' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Compatibility/Plugins/YITHWooCommerceCheckoutManager.php:12
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Compatibility\\Core' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Compatibility/Plugins/GiftMessageWooCommerce.php:12
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Compatibility\\Core' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Compatibility/Themes/BeaverBuilder.php:12
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Compatibility\\Core' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Compatibility/Themes/Divi.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/linear-checkout-for-woo-by-cartimize/templates/Admin/cartimize-deactivation.php:80
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Compatibility\\Core' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Compatibility/Themes/Kidz.php:12
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Core\\ActionCore' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Stats/Actions/SendDeactivationReport.php:10
- > PHP Fatal error
Uncaught Error: Class 'Cartimize\\Core\\ActionCore' not found in wp-content/plugins/linear-checkout-for-woo-by-cartimize/includes/Actions/UpdatePaymentMethodAction.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linear-checkout-for-woo-by-cartimize/resources/php/template-hooks.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=cartimize-pro-onboarding
- > Network (severe)
wp-admin/admin.php?page=cartimize-pro-onboarding - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=cartimize-login
- > Network (severe)
wp-admin/admin.php?page=cartimize-login - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
4 plugin tags: conversion, checkout, optimization, woocommerce
linear-checkout-for-woo-by-cartimize/linear-checkout-woo-cartimize.php 77% from 13 tests
The main PHP file in "Linear Checkout for WooCommerce by Cartimize" ver. 1.1.7 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.5")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("linear-checkout-for-woo-by-cartimize.php" instead of "linear-checkout-woo-cartimize.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 315 characters long)
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 detected17,510 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 127 | 2,238 | 1,295 | 9,259 |
CSS | 5 | 1,479 | 382 | 7,762 |
JavaScript | 6 | 80 | 37 | 488 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 10.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 107 | |
▷ Abstract classes | 5 | 4.67% |
▷ Concrete classes | 102 | 95.33% |
▷ Final classes | 0 | 0.00% |
Methods | 594 | |
▷ Static methods | 48 | 8.08% |
▷ Public methods | 568 | 95.62% |
▷ Protected methods | 1 | 0.17% |
▷ Private methods | 25 | 4.21% |
Functions | 138 | |
▷ Named functions | 119 | 86.23% |
▷ Anonymous functions | 19 | 13.77% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin