Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.61MB] [CPU: ▲1.27ms] Passed 4 tests
A check of server-side resources used by Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 37.05 ▼4.52 |
Dashboard /wp-admin | 3.98 ▲0.67 | 60.06 ▲8.70 |
Posts /wp-admin/edit.php | 4.01 ▲0.65 | 62.23 ▲11.62 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 93.54 ▼9.97 |
Media Library /wp-admin/upload.php | 3.84 ▲0.61 | 47.37 ▲10.87 |
New Contact Form /wp-admin/post-new.php?post_type=contact-forms-nd | 3.82 | 47.10 |
All Contact Forms /wp-admin/edit.php?post_type=contact-forms-nd | 3.80 | 42.35 |
Styling /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-styling | 3.81 | 41.65 |
Settings /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-settings | 3.74 | 37.96 |
Extensions /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-extensions | 3.81 | 42.49 |
Server storage [IO: ▲1.78MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 115 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
wpcf_nd_settings |
wpcf_nd_contact_forms |
wpcf_nd_first_time |
wpcf_nd_version |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲217 | 14.77 ▲0.13 | 26.67 ▲24.86 | 41.21 ▼3.84 |
Dashboard /wp-admin | 2,234 ▲54 | 5.67 ▼0.02 | 84.99 ▼11.34 | 40.48 ▼4.77 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.01 ▼0.02 | 40.34 ▲3.48 | 38.18 ▲3.07 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 22.89 ▲5.23 | 629.23 ▼64.37 | 59.02 ▲7.99 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.23 ▼0.04 | 97.85 ▼26.61 | 42.36 ▼9.49 |
New Contact Form /wp-admin/post-new.php?post_type=contact-forms-nd | 2,200 | 3.90 | 84.34 | 54.26 |
All Contact Forms /wp-admin/edit.php?post_type=contact-forms-nd | 1,251 | 2.78 | 50.09 | 35.02 |
Styling /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-styling | 1,485 | 3.16 | 65.83 | 36.30 |
Settings /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-settings | 2,372 | 3.74 | 63.83 | 47.65 |
Extensions /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-extensions | 1,136 | 2.03 | 27.13 | 32.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- wpcf_nd_settings
- wpcf_nd_contact_forms
- widget_recent-posts
- wpcf_nd_styling
- widget_recent-comments
- wpcf_nd_version
- wpcf_nd_first_time
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=contact-forms-nd&page=wpcf-settings
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=contact-forms-nd
- > Notice in wp-content/plugins/contact-form-ready/contact-form-ready.php+677
Trying to access array offset on value of type bool
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=contact-forms-nd
- > Network (severe)
https://contactformready.com/apif/vote_pull.php - Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
contact-form-ready/contact-form-ready.php Passed 13 tests
The main PHP file in "Contact Form" ver. 2.0.10 adds more information about the plugin and also serves as the entry point for this plugin
84 characters long description:
The easiest to use Contact Form plugin for WordPress with a drag and drop interface.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin22,067 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 37 | 1,865 | 2,081 | 12,531 |
PHP | 13 | 1,090 | 658 | 4,033 |
CSS | 18 | 408 | 177 | 2,557 |
Sass | 10 | 252 | 3 | 1,460 |
PO File | 2 | 241 | 250 | 585 |
HTML | 2 | 15 | 0 | 371 |
Markdown | 4 | 92 | 0 | 299 |
JSON | 1 | 0 | 0 | 201 |
SVG | 1 | 18 | 0 | 30 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 44.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 351.00 |
Average method complexity | 6.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 4 | 3.23% |
▷ Public methods | 103 | 83.06% |
▷ Protected methods | 14 | 11.29% |
▷ Private methods | 7 | 5.65% |
Functions | 42 | |
▷ Named functions | 40 | 95.24% |
▷ Anonymous functions | 2 | 4.76% |
Constants | 28 | |
▷ Global constants | 4 | 14.29% |
▷ Class constants | 24 | 85.71% |
▷ Public constants | 24 | 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
14 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/themes/slick.png | 13.47KB | 5.64KB | ▼ 58.13% |
images/ClickSend.png | 7.71KB | 2.59KB | ▼ 66.35% |
images/themes/modern.png | 12.05KB | 4.68KB | ▼ 61.18% |
images/storedsubm.png | 10.27KB | 3.79KB | ▼ 63.11% |
images/pdf.png | 8.46KB | 2.95KB | ▼ 65.13% |