Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.30ms] Passed 4 tests
Server-side resources used by Contact Form 7 Multi-step Forms (Add-on for CF7)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.64 ▲0.29 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.47 ▼4.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.34 ▼5.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.99 ▼11.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.93 ▲1.03 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7 Multi-step Forms (Add-on for CF7)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.29 ▼1.08 | 4.63 ▲2.85 | 50.11 ▲6.78 |
Dashboard /wp-admin | 2,212 ▲27 | 5.83 ▼0.08 | 97.93 ▼10.22 | 39.30 ▼4.60 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.01 ▼0.03 | 41.38 ▲0.46 | 34.97 ▼1.63 |
Add New Post /wp-admin/post-new.php | 1,551 ▲22 | 23.36 ▲5.28 | 677.26 ▲52.00 | 67.29 ▲11.48 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.18 ▼0.11 | 98.18 ▲1.39 | 44.18 ▼1.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-multi-step-forms/inc/frontend.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/cf7-multi-step-forms/inc/tpl/admin-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cf7-multi-step-forms/cf7-multistep-forms.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-multi-step-forms/inc/admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/cf7-multi-step-forms/inc/tpl/admin-form.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: multi-step, cf7, contact form 7, azmarket, cf 7 multi-step...
cf7-multi-step-forms/cf7-multistep-forms.php 85% from 13 tests
"Contact Form 7 Multi-step Forms (Add-on for CF7)" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cf7-multi-step-forms.php" instead of "cf7-multistep-forms.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 156 characters long)
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 plugin1,685 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 152 | 116 | 777 |
CSS | 2 | 28 | 8 | 523 |
PHP | 6 | 65 | 25 | 373 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/contact-form-7-multi-step-pro.png | 17.37KB | 5.84KB | ▼ 66.35% |