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.03MB] [CPU: ▼0.59ms] Passed 4 tests
This is a short check of server-side resources used by Jquery Validation For Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.19 ▼0.91 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.84 ▲3.24 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.17 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.48 ▼5.04 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.75 ▲1.43 |
Server storage [IO: ▲0.26MB] [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: 25 new files
Database: no new tables, 10 new options
New WordPress options |
---|
jvcf7_show_label_error |
widget_recent-posts |
widget_recent-comments |
jvcf7_invalid_field_design |
widget_theysaidso_widget |
jvcf7_current_version |
jvcf7_install_date |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Jquery Validation For Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲187 | 14.18 ▼0.19 | 6.52 ▲4.90 | 43.85 ▲2.25 |
Dashboard /wp-admin | 2,226 ▲44 | 5.08 ▼0.78 | 111.99 ▲9.40 | 40.78 ▼1.74 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.07 ▲0.06 | 38.91 ▲4.54 | 34.70 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 21.03 ▲2.98 | 658.15 ▲30.06 | 52.84 ▼2.17 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.28 ▲0.07 | 102.03 ▲4.29 | 41.96 ▼2.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 10 options
- widget_theysaidso_widget
- jvcf7_install_date
- can_compress_scripts
- jvcf7_show_label_error
- widget_recent-posts
- jvcf7_current_version
- widget_recent-comments
- theysaidso_admin_options
- jvcf7_invalid_field_design
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_pro_version.php
- > /wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php
- 29× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
include(JVCF7_FILE_PATHincludes/views/jvcf7_sidebar.php): failed to open stream: No such file or directory in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php on line 34
- > PHP Notice
Undefined variable: jvcf7_tabs in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php on line 22
- > PHP Warning
include(): Failed opening 'JVCF7_FILE_PATHincludes/views/' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php on line 31
- > PHP Warning
Use of undefined constant JVCF7_FILE_PATH - assumed 'JVCF7_FILE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php on line 31
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_settings.php on line 16
- > PHP Notice
Undefined index: jvcf7_default_settings in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_settings.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php on line 31
- > PHP Notice
Undefined variable: jvcf7_tabs in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_main.php on line 31
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_settings.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jquery-validation-for-contact-form-7/includes/views/jvcf7_settings.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: Screenshot #1 (Validation Error None (Lite Version)) image not found
jquery-validation-for-contact-form-7/jquery-validation-for-contact-form-7.php Passed 13 tests
"Jquery Validation For Contact Form 7" version 5.4.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
58 characters long description:
This plugin integrates jquery validation in contact form 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin345 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 50 | 8 | 266 |
JavaScript | 2 | 6 | 4 | 45 |
CSS | 2 | 4 | 1 | 34 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
11 PNG files occupy 0.20MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 81.74KB | 28.80KB | ▼ 64.77% |
includes/assets/img/error.png | 0.58KB | 0.52KB | ▼ 9.80% |
includes/assets/img/valid.png | 0.44KB | 0.36KB | ▼ 18.67% |
screenshot-5.png | 5.05KB | 3.65KB | ▼ 27.66% |
screenshot-7.png | 5.00KB | 3.62KB | ▼ 27.59% |