Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.44ms] Passed 4 tests
Server-side resources used by LianaMailer for WPForms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.66 ▼6.33 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.75 ▼9.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.00 | 49.03 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.00 | 94.09 ▼1.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 33.12 ▼0.32 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for LianaMailer for WPForms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.16 | 1.71 ▼0.50 | 39.15 ▼5.61 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.05 | 91.47 ▼1.35 | 46.53 ▲5.86 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.03 | 38.88 ▲3.67 | 36.54 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.13 ▲0.03 | 659.61 ▼11.44 | 50.68 ▼1.87 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.22 ▲0.01 | 99.12 ▼16.45 | 44.84 ▼2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function WPF_LianaMailer\\is_admin() in wp-content/plugins/lianamailer-wpf/admin/class-lianamailer-wpf.php:314
- > PHP Fatal error
Uncaught Error: Class 'WPForms_Field' not found in wp-content/plugins/lianamailer-wpf/includes/class-wpf-field-lianamailer.php:23
- > 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 93% from 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
2 plugin tags: automation, newsletter
lianamailer-wpf/lianamailer-wpf.php 85% from 13 tests
Analyzing the main PHP file in "LianaMailer for WPForms" version 1.20
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Requires at least: The required version number must 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 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,557 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 304 | 657 | 1,352 |
JavaScript | 1 | 30 | 11 | 156 |
CSS | 1 | 5 | 0 | 41 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 45.60 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 1 | 1.64% |
▷ Public methods | 48 | 78.69% |
▷ Protected methods | 2 | 3.28% |
▷ Private methods | 11 | 18.03% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin