Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼1.47ms] Passed 4 tests
A check of server-side resources used by VS Contact Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 46.48 ▲6.79 |
Dashboard /wp-admin | 3.61 ▲0.26 | 53.56 ▼5.64 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 51.79 ▲3.38 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 87.72 ▼8.65 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 41.66 ▲5.05 |
VS Contact Form /wp-admin/options-general.php?page=vscf | 3.50 | 36.80 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_vscf_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for VS Contact Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.17 ▲0.01 | 1.74 ▲0.06 | 43.28 ▲0.55 |
Dashboard /wp-admin | 2,196 ▲19 | 5.58 ▼0.10 | 83.35 ▼3.78 | 37.79 ▼3.42 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 2.01 ▼0.03 | 42.92 ▲7.14 | 36.47 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 20.95 ▼2.46 | 657.59 ▼22.17 | 43.32 ▼17.07 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.02 | 92.82 ▼13.97 | 43.85 ▼3.45 |
VS Contact Form /wp-admin/options-general.php?page=vscf | 1,073 | 2.12 | 23.14 | 31.79 |
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 detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: email, form, contact, simple, contact form
very-simple-contact-form/vscf.php 92% from 13 tests
The main PHP script in "VS Contact Form" version 14.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("very-simple-contact-form.php" instead of "vscf.php")
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
Good job! No executable or dangerous file extensions detected1,584 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 173 | 144 | 1,553 |
CSS | 2 | 10 | 11 | 28 |
JavaScript | 1 | 1 | 1 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected