Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.58ms] Passed 4 tests
A check of server-side resources used by Flooows Elementor PRO Lead DB
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.50 ▲2.44 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.14 ▼9.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 41.04 ▼4.10 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.73 ▼16.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.32 ▼0.91 |
Server storage [IO: ▲0.12MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Flooows Elementor PRO Lead DB
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.10 ▼0.25 | 1.75 ▲0.08 | 44.40 ▲3.49 |
Dashboard /wp-admin | 2,218 ▲37 | 5.66 ▲0.05 | 88.33 ▼14.58 | 42.03 ▼1.22 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.00 ▲0.06 | 33.78 ▼1.42 | 36.43 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,543 ▲6 | 23.29 ▲5.27 | 669.22 ▲31.16 | 62.76 ▼11.34 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.18 ▲0.01 | 94.92 ▼7.78 | 43.70 ▲0.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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)
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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/flooows-form-leads-store/flooows_form_leads_store_for_elementor_pro.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
flooows-form-leads-store/flooows_form_leads_store_for_elementor_pro.php 92% from 13 tests
"Flooows Elementor PRO Lead DB" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("flooows-form-leads-store.php" instead of "flooows_form_leads_store_for_elementor_pro.php")
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
There were no executable files found in this plugin434 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 17 | 393 |
JavaScript | 1 | 35 | 9 | 37 |
CSS | 1 | 5 | 10 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 11.45KB | 4.71KB | ▼ 58.86% |
assets/screenshot-1.png | 31.16KB | 16.51KB | ▼ 47.02% |
assets/icon-256x256.png | 31.23KB | 12.71KB | ▼ 59.30% |