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.09MB] [CPU: ▼3.98ms] Passed 4 tests
This is a short check of server-side resources used by LitCommerce: Multi-channel Selling Tool For WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.37 ▲3.81 |
Dashboard /wp-admin | 3.40 ▲0.06 | 46.74 ▼9.41 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.01 ▲0.84 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 91.81 ▼9.45 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.03 ▲2.09 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for LitCommerce: Multi-channel Selling Tool For WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲52 | 14.67 ▲0.33 | 1.67 ▼0.31 | 43.84 ▲5.56 |
Dashboard /wp-admin | 2,215 ▲40 | 5.61 ▼0.12 | 87.74 ▼30.88 | 38.30 ▼5.64 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.98 ▼0.03 | 40.80 ▲5.15 | 32.59 ▼4.97 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.62 ▲0.41 | 640.02 ▼25.17 | 52.86 ▼14.66 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.21 ▲0.02 | 96.19 ▼2.35 | 42.03 ▲2.00 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'LitCommerce_Automation' not found in wp-content/plugins/litcommerce/steps/EnableWooCommerceAPI.php:3
- > PHP Fatal error
Uncaught Error: Interface 'LitCommerce_Automation' not found in wp-content/plugins/litcommerce/steps/EnsureWooCommerceActive.php:3
- > PHP Fatal error
Uncaught Error: Interface 'LitCommerce_Automation' not found in wp-content/plugins/litcommerce/steps/PermalinkSettings.php:3
- > PHP Fatal error
Uncaught Error: Interface 'LitCommerce_Automation' not found in wp-content/plugins/litcommerce/steps/GenerateWooCommerceKeys.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/litcommerce/litcommerce.php:158
- > PHP Fatal error
Uncaught Error: Interface 'LitCommerce_Automation' not found in wp-content/plugins/litcommerce/steps/EnsureWooCommercePlugin.php:3
- > PHP Fatal error
Uncaught Error: Interface 'LitCommerce_Automation' not found in wp-content/plugins/litcommerce/steps/SendWooCommerceKeys.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: walmart, woocommerce, litcommerce, tiktok, etsy...
litcommerce/litcommerce.php Passed 13 tests
The principal PHP file in "LitCommerce: Multi-channel Selling Tool For WooCommerce" v. 1.0.8 is loaded by WordPress automatically on each request
67 characters long description:
Helps you easily integrate your WooCommerce store with LitCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin578 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 89 | 31 | 505 |
JavaScript | 1 | 14 | 3 | 61 |
CSS | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin