Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.75ms] Passed 4 tests
A check of server-side resources used by Lenix Elementor Leads addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.29 ▼5.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.62 ▼4.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.97 ▼3.48 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.16 ▼17.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.44 ▲2.55 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Lenix Elementor Leads addon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 13.34 ▼1.06 | 1.67 ▼0.47 | 40.31 ▼9.98 |
Dashboard /wp-admin | 2,218 ▲27 | 4.89 ▲0.02 | 103.91 ▲1.94 | 40.14 ▼0.95 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.05 ▼0.00 | 40.12 ▼0.96 | 36.28 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.24 ▼0.04 | 644.63 ▲0.51 | 57.28 ▲7.56 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.26 ▲0.07 | 96.67 ▼0.39 | 41.12 ▼1.69 |
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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lenix-elementor-leads-addon/inc/functions.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lenix-elementor-leads-addon/inc/meta-boxes.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lenix-elementor-leads-addon/inc/class-lenix-elementor-forms.php:584
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: elementor, leads, lenix, elemntor form db, contact form db...
lenix-elementor-leads-addon/elementor-leads.php 85% from 13 tests
"Lenix Elementor Leads addon" version 1.8.2'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:
- Main file name: The principal plugin file should be the same as the plugin slug ("lenix-elementor-leads-addon.php" instead of "elementor-leads.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 plugin962 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 222 | 27 | 718 |
PO File | 2 | 106 | 106 | 244 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 57.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 7.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 76.47% |
▷ Protected methods | 2 | 11.76% |
▷ Private methods | 2 | 11.76% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
Constants | 5 | |
▷ Global constants | 5 | 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