Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.75ms] Passed 4 tests
An overview of server-side resources used by LianaAutomation for Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.92 ▼2.59 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.16 ▼21.02 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.88 ▼1.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.12 ▼9.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.83 ▲0.02 |
Contact Form 7 /wp-admin/admin.php?page=lianaautomation-contactform7 | 3.21 | 29.20 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by LianaAutomation for Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 14.35 ▼0.21 | 1.71 ▼0.08 | 38.57 ▼2.18 |
Dashboard /wp-admin | 2,214 ▲40 | 5.63 ▲0.10 | 88.70 ▼0.25 | 36.80 ▲1.19 |
Posts /wp-admin/edit.php | 2,119 ▲40 | 2.14 ▲0.13 | 35.23 ▼0.67 | 32.78 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 22.87 ▼0.20 | 590.83 ▼1.48 | 64.19 ▼2.86 |
Media Library /wp-admin/upload.php | 1,422 ▲28 | 4.17 ▼0.05 | 96.54 ▲1.75 | 44.10 ▲2.92 |
Contact Form 7 /wp-admin/admin.php?page=lianaautomation-contactform7 | 865 | 2.03 | 23.79 | 40.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/lianaautomation-contact-form-7/admin/class-lianaautomation-contactform7.php:412
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-contact-form-7/includes/lianaautomation-wpcf7.php:249
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-contact-form-7/includes/lianaautomation-cookie.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lianaautomation-contact-form-7/includes/lianaautomation-cookie.php:36
- > 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 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: online store, automation, e-commerce, ecommerce
lianaautomation-contact-form-7/lianaautomation-contact-form-7.php 77% from 13 tests
The primary PHP file in "LianaAutomation for Contact Form 7" version 1.0.32 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires at least: Required version does not match the one declared in readme.txt ("5.8" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected466 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 77 | 205 | 460 |
Markdown | 1 | 3 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
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
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