Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲0.97ms] Passed 4 tests
A check of server-side resources used by Contact Form DB - Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 47.12 ▲5.98 |
Dashboard /wp-admin | 3.50 ▲0.20 | 48.64 ▲1.96 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 48.91 ▲2.54 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 83.25 ▼4.68 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.11 ▲4.05 |
Settings /wp-admin/edit.php?post_type=elementor_cf_db&page=sb_elem_cfd_settings | 3.39 | 32.01 |
Export /wp-admin/edit.php?post_type=elementor_cf_db&page=sb_elem_cfd | 3.39 | 38.44 |
All Elementor DB /wp-admin/edit.php?post_type=elementor_cf_db | 3.47 | 35.63 |
Server storage [IO: ▲1.38MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form DB - Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.73 ▼0.01 | 1.77 ▲0.17 | 42.80 ▼1.87 |
Dashboard /wp-admin | 2,226 ▲49 | 5.56 ▼0.01 | 90.13 ▼15.81 | 38.15 ▼3.05 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.02 ▲0.05 | 35.58 ▼0.13 | 31.56 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.77 ▲0.16 | 677.27 ▼32.02 | 60.17 ▲4.38 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.42 ▲0.26 | 94.53 ▼0.15 | 43.28 ▼4.12 |
Settings /wp-admin/edit.php?post_type=elementor_cf_db&page=sb_elem_cfd_settings | 890 | 1.99 | 21.74 | 25.95 |
Export /wp-admin/edit.php?post_type=elementor_cf_db&page=sb_elem_cfd | 826 | 1.99 | 24.26 | 24.15 |
All Elementor DB /wp-admin/edit.php?post_type=elementor_cf_db | 1,101 | 1.91 | 30.88 | 28.22 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== sb-elementor-contact-form-db ===
) - Requires php: The plugin version is formatted incorrectly
- Screenshots: These screenshots do not have images: #1 (Submission List), #2 (Individual Submission), #3 (Copy to post type options), #4 (Settings Page), #5 (Export Page), #6 (Interface)
sb-elementor-contact-form-db/sb_elementor_contact_form_db.php 85% from 13 tests
Analyzing the main PHP file in "Contact Form DB - Elementor" version 1.8.1
Please make the necessary changes and fix the following:
- 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
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sb-elementor-contact-form-db.php" instead of "sb_elementor_contact_form_db.php")
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
Everything looks great! No dangerous files found in this plugin767 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 224 | 22 | 761 |
JavaScript | 1 | 4 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 1.34MB with 0.76MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 431.76KB | 121.07KB | ▼ 71.96% |
cat.png | 181.43KB | 184.78KB | 0.00% |
screenshot-3.png | 155.97KB | 45.31KB | ▼ 70.95% |
screenshot-4.png | 136.49KB | 38.63KB | ▼ 71.70% |
screenshot-6.png | 20.17KB | 5.78KB | ▼ 71.33% |