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 gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.11ms] Passed 4 tests
This is a short check of server-side resources used by LianaMailer for Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.23 ▼2.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.36 ▼8.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.75 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.17 ▼12.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.64 ▼1.83 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by LianaMailer for Gravity Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.17 | 4.90 ▲3.12 | 44.08 ▼0.99 |
Dashboard /wp-admin | 2,206 ▲17 | 4.85 ▼0.10 | 109.66 ▼17.18 | 39.01 ▼3.81 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.01 | 42.41 ▲8.45 | 35.16 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.35 ▲5.94 | 638.42 ▼33.02 | 58.32 ▲6.09 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.11 | 92.96 ▼1.55 | 41.19 ▼0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function GF_LianaMailer\\is_admin() in wp-content/plugins/lianamailer-gf/admin/class-lianamailer-gf.php:315
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: automation, newsletter
lianamailer-gf/lianamailer-gf.php 85% from 13 tests
The primary PHP file in "LianaMailer for Gravity Forms" version 1.0.6 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.8" instead of "5.2")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,707 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 312 | 673 | 1,402 |
JavaScript | 1 | 43 | 19 | 244 |
CSS | 1 | 1 | 0 | 53 |
Markdown | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.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 | 65 | |
▷ Static methods | 2 | 3.08% |
▷ Public methods | 54 | 83.08% |
▷ Protected methods | 2 | 3.08% |
▷ Private methods | 9 | 13.85% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin