Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.18ms] Passed 4 tests
Analyzing server-side resources used by LianaMailer for Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.13 ▼8.88 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.55 ▼4.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.53 ▼1.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.57 ▲3.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.39 ▲2.11 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for LianaMailer for Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.12 | 1.72 ▼0.23 | 37.85 ▼13.08 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.05 | 97.28 ▼2.91 | 39.62 ▼2.42 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.01 ▼0.02 | 39.43 ▼1.49 | 34.51 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.21 ▲0.02 | 616.96 ▲3.21 | 52.26 ▲4.37 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.14 ▼0.05 | 97.18 ▼11.17 | 41.49 ▼4.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function CF7_LianaMailer\\is_admin() in wp-content/plugins/lianamailer-contact-form-7/admin/class-lianamailer-contactform7.php:340
- > PHP Fatal error
Uncaught Error: Call to undefined function CF7_LianaMailer\\add_action() in wp-content/plugins/lianamailer-contact-form-7/lianamailer-contact-form-7.php:26
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: newsletter, automation
lianamailer-contact-form-7/lianamailer-contact-form-7.php 85% from 13 tests
"LianaMailer for Contact Form 7" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- 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 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,207 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 208 | 507 | 999 |
JavaScript | 1 | 25 | 12 | 163 |
CSS | 1 | 2 | 0 | 37 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 40.25 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 1 | 1.92% |
▷ Public methods | 40 | 76.92% |
▷ Protected methods | 2 | 3.85% |
▷ Private methods | 10 | 19.23% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin