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.02MB] [CPU: ▼8.80ms] Passed 4 tests
This is a short check of server-side resources used by LianaAutomation for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.21 ▼6.74 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.30 ▼6.33 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.83 ▲1.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.64 ▼22.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.45 ▼0.13 |
WooCommerce /wp-admin/admin.php?page=lianaautomation-wc | 3.22 | 32.58 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
LianaAutomation for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲22 | 14.23 ▼0.00 | 2.05 ▲0.11 | 43.61 ▲0.39 |
Dashboard /wp-admin | 2,217 ▲43 | 5.63 ▲0.03 | 94.64 ▼8.62 | 42.84 ▼3.69 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.96 ▼0.04 | 37.81 ▼0.00 | 35.78 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,542 ▲11 | 22.90 ▼0.29 | 662.12 ▲2.35 | 56.02 ▼2.55 |
Media Library /wp-admin/upload.php | 1,422 ▲19 | 4.29 ▼0.09 | 98.60 ▼5.08 | 45.83 ▲0.54 |
WooCommerce /wp-admin/admin.php?page=lianaautomation-wc | 850 | 2.03 | 26.44 | 41.55 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wc/includes/lianaautomation-wc-orderstatus.php:285
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/lianaautomation-wc/admin/class-lianaautomation-wc.php:406
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wc/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wc/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wc/includes/lianaautomation-wc-login.php:238
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wc/includes/lianaautomation-wc-customer.php:192
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce, e-commerce, online store, automation, ecommerce
lianaautomation-wc/lianaautomation-wc.php 77% from 13 tests
The principal PHP file in "LianaAutomation for WooCommerce" v. 1.0.39 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.8" instead of "5.2")
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin777 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 115 | 334 | 769 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin