Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.55MB] [CPU: ▼0.33ms] Passed 4 tests
A check of server-side resources used by Contact Form 7 Multi-Step Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.61 | 40.14 ▼3.19 |
Dashboard /wp-admin | 3.91 ▲0.61 | 50.71 ▲4.59 |
Posts /wp-admin/edit.php | 3.96 ▲0.61 | 48.60 ▼0.27 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 91.83 ▼1.58 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 37.77 ▲3.72 |
Contact Form 7 Multi-Step Forms /wp-admin/admin.php?page=contact-form-7-multi-step-module | 3.91 | 41.48 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.04 | 34.24 |
Server storage [IO: ▲3.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 204 new files
Database: no new tables, 11 new options
New WordPress options |
---|
_cf7msm_stats |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
_cf7msm_version |
fs_active_plugins |
fs_debug_mode |
theysaidso_admin_options |
fs_accounts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form 7 Multi-Step Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 14.48 ▲0.12 | 1.85 ▼0.10 | 30.78 ▼16.81 |
Dashboard /wp-admin | 2,227 ▲36 | 5.85 ▲0.96 | 106.40 ▲4.13 | 45.01 ▲1.51 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.01 ▼0.01 | 40.73 ▲2.48 | 37.30 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,528 ▲8 | 18.04 ▼5.11 | 597.45 ▼69.15 | 53.22 ▲1.04 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.17 ▼0.08 | 97.45 ▲1.18 | 44.29 ▼0.69 |
Contact Form 7 Multi-Step Forms /wp-admin/admin.php?page=contact-form-7-multi-step-module | 975 | 1.71 | 25.78 | 58.04 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,065 | 2.20 | 23.80 | 26.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/contact-form-7-multi-step-module/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- fs_debug_mode
- widget_recent-posts
- widget_theysaidso_widget
- fs_accounts
- fs_active_plugins
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-7-multi-step-module/form-tags/module-session.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-7-multi-step-module/cf7msm-admin.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-7-multi-step-module/form-tags/module-back.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-7-multi-step-module/form-tags/module-multistep.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/contact-form-7-multi-step-module/form-tags/common.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: step, contact form 7, multi, multistep form, form...
contact-form-7-multi-step-module/contact-form-7-multi-step-module.php Passed 13 tests
The primary PHP file in "Contact Form 7 Multi-Step Forms" version 4.3.1 is used by WordPress to initiate all plugin functionality
73 characters long description:
Enables the Contact Form 7 plugin to create multi-page, multi-step forms.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected35,699 lines of code in 156 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,269 | 17,575 | 34,963 |
JavaScript | 10 | 95 | 140 | 590 |
Sass | 3 | 7 | 0 | 127 |
CSS | 17 | 2 | 1 | 19 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 93.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 2 | 4.17% |
▷ Concrete classes | 46 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,259 | |
▷ Static methods | 197 | 15.65% |
▷ Public methods | 870 | 69.10% |
▷ Protected methods | 17 | 1.35% |
▷ Private methods | 372 | 29.55% |
Functions | 158 | |
▷ Named functions | 158 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.28MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/plugin-icon.png | 128.04KB | 51.66KB | ▼ 59.66% |
freemius/assets/img/contact-form-7-multi-step-module.png | 128.04KB | 51.66KB | ▼ 59.66% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
resources/logo.png | 3.24KB | 2.35KB | ▼ 27.46% |