Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲2.29ms] Passed 4 tests
A check of server-side resources used by Void Contact Form 7 Widget For Elementor Page Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.38 ▲0.74 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.25 ▼1.89 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.81 ▲2.87 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 100.86 ▲11.73 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 43.06 ▲7.42 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 94 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
void_cf7_elementor_activation_time |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Void Contact Form 7 Widget For Elementor Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲102 | 14.73 ▲0.13 | 1.69 ▲0.05 | 42.69 ▲2.35 |
Dashboard /wp-admin | 2,269 ▲89 | 5.73 ▲0.13 | 82.36 ▼3.50 | 73.66 ▲32.84 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.01 ▲0.05 | 39.77 ▲0.99 | 37.52 ▲2.96 |
Add New Post /wp-admin/post-new.php | 1,759 ▲231 | 24.34 ▲0.94 | 714.46 ▲24.50 | 55.39 ▲0.86 |
Media Library /wp-admin/upload.php | 1,474 ▲77 | 4.18 ▼0.04 | 93.90 ▼8.64 | 74.43 ▲32.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- void_cf7_elementor_activation_time
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/cf7-widget-elementor/analyst/templates/optout.php
- > /wp-content/plugins/cf7-widget-elementor/analyst/templates/optin.php
- > /wp-content/plugins/cf7-widget-elementor/analyst/templates/forms/install.php
- > /wp-content/plugins/cf7-widget-elementor/custom-editor/modal-editor.php
- > /wp-content/plugins/cf7-widget-elementor/analyst/templates/forms/deactivate.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\HttpClientContract' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Http/DummyHttpClient.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\RequestContract' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Http/Requests/AbstractLoggerRequest.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\CacheContract' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Cache/DatabaseCache.php:12
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Core\\AbstractFactory' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Notices/NoticeFactory.php:7
- > PHP Notice
Undefined variable: shieldImage in wp-content/plugins/cf7-widget-elementor/analyst/templates/forms/install.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-widget-elementor/helper/helper.php:35
- > PHP Notice
Undefined variable: shieldImage in wp-content/plugins/cf7-widget-elementor/analyst/templates/optout.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Http/Requests/DeactivateRequest.php:14
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Http/Requests/UninstallRequest.php:14
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/cf7-widget-elementor/analyst/src/Http/Requests/OptInRequest.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Screenshots: Screenshot #5 (/assets/screenshot-3.jpg) image missing
- Tags: There are too many tags (11 tag instead of maximum 10)
cf7-widget-elementor/void-cf7-widget-elementor.php 85% from 13 tests
The entry point to "Void Contact Form 7 Widget For Elementor Page Builder" version 2.3 is a PHP file that has certain tags in its header comment area
Please take the time to 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: It is recommended to name the main PHP file as the plugin slug ("cf7-widget-elementor.php" instead of "void-cf7-widget-elementor.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
Good job! No executable or dangerous file extensions detected5,534 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 1,093 | 1,885 | 4,332 |
CSS | 6 | 128 | 28 | 878 |
JavaScript | 6 | 58 | 122 | 324 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 12 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 4 | 11.11% |
▷ Concrete classes | 32 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 258 | |
▷ Static methods | 38 | 14.73% |
▷ Public methods | 231 | 89.53% |
▷ Protected methods | 14 | 5.43% |
▷ Private methods | 13 | 5.04% |
Functions | 42 | |
▷ Named functions | 25 | 59.52% |
▷ Anonymous functions | 17 | 40.48% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.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
12 PNG files occupy 0.28MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 105.24KB | 37.09KB | ▼ 64.76% |
analyst/assets/img/shield_question.png | 22.05KB | 11.19KB | ▼ 49.26% |
assets/elemailer-logo.png | 1.53KB | 1.58KB | 0.00% |
analyst/assets/img/pencil.png | 6.47KB | 4.04KB | ▼ 37.53% |
analyst/assets/img/smile 2.png | 3.00KB | 2.29KB | ▼ 23.66% |