Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.05ms] Passed 4 tests
This is a short check of server-side resources used by User Registration Using Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.08 ▼10.60 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.94 ▼4.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.28 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.56 ▼11.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.02 ▲1.90 |
Settings /wp-admin/edit.php?post_type=zuserreg_data&page=zurcf7_settings | 3.01 | 23.56 |
All Registered Users /wp-admin/edit.php?post_type=zuserreg_data | 3.04 | 25.30 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
User Registration Using Contact Form 7: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.25 ▼1.04 | 1.66 ▼1.01 | 38.80 ▼4.62 |
Dashboard /wp-admin | 2,203 ▲12 | 6.01 ▲0.19 | 98.52 ▼1.67 | 38.57 ▼5.76 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 37.02 ▲1.87 | 31.79 ▼4.41 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.78 ▼5.76 | 633.47 ▼72.96 | 56.28 ▼11.58 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.07 | 94.26 ▼7.97 | 41.74 ▼2.22 |
Settings /wp-admin/edit.php?post_type=zuserreg_data&page=zurcf7_settings | 28 | 0.44 | 0.08 | 4.06 |
All Registered Users /wp-admin/edit.php?post_type=zuserreg_data | 28 | 0.44 | 0.08 | 3.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/user-registration-using-contact-form-7/inc/admin/template/zurcf7.form.settings.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=zuserreg_data&page=zurcf7_settings
- > Network (severe)
wp-admin/edit.php?post_type=zuserreg_data&page=zurcf7_settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=zuserreg_data
- > Network (severe)
wp-admin/edit.php?post_type=zuserreg_data - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: user login cf7, wordpress, cf7 user registration, user login, reset password...
user-registration-using-contact-form-7/user-registration-cf7.php 85% from 13 tests
The primary PHP file in "User Registration Using Contact Form 7" version 1.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("user-registration-using-contact-form-7.php" instead of "user-registration-cf7.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,261 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 261 | 513 | 767 |
CSS | 2 | 61 | 0 | 313 |
JavaScript | 4 | 30 | 8 | 181 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected