Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.42ms] Passed 4 tests
A check of server-side resources used by LianaAutomation for WPForms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.29 ▼8.82 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.92 ▼0.46 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.82 ▼0.43 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.40 ▼19.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.21 ▼1.21 |
WPForms /wp-admin/admin.php?page=lianaautomation-wpf | 3.21 | 31.17 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for LianaAutomation for WPForms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲62 | 13.26 ▼1.12 | 1.84 ▼0.13 | 42.55 ▼1.19 |
Dashboard /wp-admin | 2,222 ▲37 | 5.79 ▼0.09 | 106.78 ▲5.55 | 38.81 ▼4.39 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.04 ▲0.05 | 38.48 ▼1.67 | 34.79 ▼0.26 |
Add New Post /wp-admin/post-new.php | 1,553 ▲11 | 23.33 ▲5.16 | 627.13 ▲11.67 | 47.51 ▼9.86 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.23 ▲0.06 | 94.40 ▼3.01 | 41.78 ▼2.39 |
WPForms /wp-admin/admin.php?page=lianaautomation-wpf | 853 | 2.03 | 23.47 | 36.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 4× 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-wpf/includes/lianaautomation-wpf.php:234
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wpf/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/lianaautomation-wpf/admin/class-lianaautomation-wpf.php:406
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-wpf/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: forms, automation, ecommerce, e-commerce
lianaautomation-wpf/lianaautomation-wpf.php 77% from 13 tests
The primary PHP file in "LianaAutomation for WPForms" version 1.0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.8" instead of "5.2")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin437 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 74 | 213 | 432 |
Markdown | 1 | 4 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin