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.09MB] [CPU: ▼3.49ms] Passed 4 tests
An overview of server-side resources used by Hoo Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.38 ▲4.24 |
Dashboard /wp-admin | 3.39 ▲0.09 | 47.75 ▼4.22 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 53.02 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.89 ▼13.23 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.68 ▲5.07 |
Hoo Contact Form /wp-admin/options-general.php?page=hoo-contact-form | 3.28 | 35.29 |
Server storage [IO: ▲3.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hoo Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 14.08 ▼0.08 | 14.82 ▲13.17 | 59.17 ▲16.42 |
Dashboard /wp-admin | 2,206 ▲32 | 5.64 ▲0.02 | 89.06 ▼17.93 | 39.71 ▼2.34 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.04 ▲0.03 | 34.99 ▼6.12 | 33.90 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.19 ▲0.17 | 669.00 ▼26.32 | 62.35 ▼0.62 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.41 ▲0.23 | 102.05 ▲0.32 | 48.10 ▲6.20 |
Hoo Contact Form /wp-admin/options-general.php?page=hoo-contact-form | 970 | 2.05 | 27.78 | 26.53 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: contact form
hoo-contact-form/hoo-contact-form.php Passed 13 tests
The entry point to "Hoo Contact Form" version 1.0.1 is a PHP file that has certain tags in its header comment area
21 characters long description:
Hoosoft Contact Form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin31,982 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 41 | 1,320 | 2,308 | 19,556 |
CSS | 10 | 11 | 54 | 9,154 |
SVG | 2 | 0 | 0 | 2,900 |
PHP | 1 | 75 | 14 | 372 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected