Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-quick-contact-us/wp-quick-contact-us.php+228
Undefined index: process_wp_quick_contact
Server metrics [RAM: ▼1.86MB] [CPU: ▼52.66ms] Passed 4 tests
A check of server-side resources used by WP Quick Contact Us
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 5.97 ▼34.18 |
Dashboard /wp-admin | 2.14 ▼1.16 | 6.79 ▼35.38 |
Posts /wp-admin/edit.php | 2.14 ▼1.21 | 6.90 ▼43.84 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.74 | 6.81 ▼97.25 |
Media Library /wp-admin/upload.php | 2.14 ▼1.08 | 6.89 ▼27.44 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 13 new options
New WordPress options |
---|
wp_quick_contact_show_on_page |
wp_quick_contact_toemail |
widget_recent-comments |
wp_quick_contact_title |
can_compress_scripts |
wp_quick_contact_show_on_home |
widget_theysaidso_widget |
wp_quick_contact_show_on_post |
widget_recent-posts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
WP Quick Contact Us: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,984 ▲227 | 13.80 ▼0.84 | 6.41 ▲4.26 | 48.24 ▼2.55 |
Dashboard /wp-admin | 2,208 ▲20 | 5.86 ▼0.20 | 105.72 ▼5.94 | 83.23 ▲40.38 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.05 ▲0.05 | 35.84 ▼3.66 | 36.81 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.27 ▲5.13 | 785.98 ▲174.55 | 53.02 ▼11.56 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.14 ▼0.09 | 95.09 ▼4.25 | 71.09 ▲27.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-quick-contact-us/wp-quick-contact-us.php+228
Undefined index: process_wp_quick_contact
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-quick-contact-us/wp-quick-contact-us.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #2 is missing in wp-quick-contact-us/assets to your readme.txt
- Screenshots: Add an image for screenshot #4 (screenshot-2.png Example of Frontend view.)
wp-quick-contact-us/wp-quick-contact-us.php Passed 13 tests
"WP Quick Contact Us" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
A plugin to creating floating contact form on home, pages or posts.
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
No dangerous file extensions were detected1,299 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 115 | 230 | 836 |
PHP | 1 | 34 | 22 | 327 |
CSS | 2 | 2 | 2 | 136 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dmitri-logo.png | 8.50KB | 3.31KB | ▼ 61.05% |
images/icons.png | 5.13KB | 1.88KB | ▼ 63.43% |
images/buttons-light.png | 2.87KB | 0.23KB | ▼ 92.14% |
images/icon.png | 3.40KB | 0.91KB | ▼ 73.33% |
screenshot-2.png | 17.20KB | 8.80KB | ▼ 48.82% |