Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.19ms] Passed 4 tests
A check of server-side resources used by WooCommerce Quote or Enquiry Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 22.52 ▼17.94 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.79 ▲0.02 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.64 ▲6.16 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.28 ▼10.70 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.85 ▼0.14 |
Quote Or Enquiry Contact Form 7 /wp-admin/admin.php?page=wqoecf-quote-or-enquiry-contact-form | 3.27 | 32.24 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
wqoecf_quote_or_enquiry_settings |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Quote or Enquiry Contact Form 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,479 ▼272 | 13.12 ▼1.22 | 0.52 ▼1.09 | 17.70 ▼25.63 |
Dashboard /wp-admin | 2,223 ▲46 | 5.79 ▲0.15 | 98.15 ▼7.08 | 42.89 ▼2.90 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.27 ▲0.30 | 41.11 ▲3.37 | 35.45 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.37 ▲0.35 | 697.72 ▲7.63 | 42.47 ▼9.68 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.35 ▲0.15 | 99.20 ▲3.73 | 43.32 ▲1.69 |
Quote Or Enquiry Contact Form 7 /wp-admin/admin.php?page=wqoecf-quote-or-enquiry-contact-form | 1,120 | 2.33 | 48.48 | 38.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- wqoecf_quote_or_enquiry_settings
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-quote-or-enquiry-contact-form-7/enquiry.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: woocommerce quote contact form 7, woocommerce contact form 7, woocommerce enquiry contact form 7
woo-quote-or-enquiry-contact-form-7/woocommerce-quote-or-enquiry-contact-form-7.php 92% from 13 tests
The main file in "WooCommerce Quote or Enquiry Contact Form 7" v. 2.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-quote-or-enquiry-contact-form-7.php" instead of "woocommerce-quote-or-enquiry-contact-form-7.php")
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 plugin824 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 112 | 22 | 489 |
CSS | 2 | 49 | 6 | 315 |
JavaScript | 1 | 4 | 0 | 20 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
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 |
assets/images/mail.png | 3.67KB | 0.23KB | ▼ 93.86% |
assets/images/close.png | 0.35KB | 0.38KB | 0.00% |