Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▲0.08ms] Passed 4 tests
A check of server-side resources used by HTML Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.74 ▼2.03 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.80 ▼0.67 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 52.85 ▲0.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 99.19 ▲2.55 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.51 ▲6.46 |
HTML Contact Form /wp-admin/options-general.php?page=html-contact-form | 3.25 | 40.15 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
HTML_CF_code |
can_compress_scripts |
html_CF_Email |
widget_theysaidso_widget |
html_form_install_date |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for HTML Contact Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.36 ▲0.19 | 1.60 ▼0.47 | 47.26 ▲5.27 |
Dashboard /wp-admin | 2,199 ▲25 | 5.63 ▲0.05 | 85.61 ▼19.94 | 39.17 ▼13.93 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.03 | 41.25 ▲3.21 | 36.80 ▲2.89 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.32 ▲0.01 | 625.91 ▼94.44 | 55.14 ▼11.24 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.10 | 100.45 ▼12.81 | 45.40 ▼4.37 |
HTML Contact Form /wp-admin/options-general.php?page=html-contact-form | 1,284 | 2.46 | 48.90 | 33.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/html-contact-form/captcha.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/html-contact-form/html-contact-form.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 20 tag instead of maximum 10
html-contact-form/html-contact-form.php Passed 13 tests
"HTML Contact Form" version 1.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
95 characters long description:
Contact Form: Simple but flexible contact form. Easy to add CSS styling or input fields (HTML5)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin10,477 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 1,049 | 997 | 9,906 |
CSS | 4 | 50 | 25 | 355 |
PHP | 5 | 107 | 23 | 216 |
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.17 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/warn.png | 0.44KB | 0.36KB | ▼ 19.65% |
img/lines.png | 0.75KB | 0.55KB | ▼ 27.40% |