Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.22MB] [CPU: ▼45.78ms] Passed 4 tests
Server-side resources used by One click WooCommerce to Inquiry
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 13.36 ▼27.15 |
Dashboard /wp-admin | 2.79 ▼0.51 | 19.34 ▼34.59 |
Posts /wp-admin/edit.php | 2.79 ▼0.56 | 19.09 ▼31.33 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.09 | 14.53 ▼90.06 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 17.59 ▼22.39 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
woocommerce_checkout_page_id |
db_upgraded |
theysaidso_admin_options |
woocommerce_cart_page_id |
widget_recent-posts |
widget_theysaidso_widget |
woocommerce_email_footer_text |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for One click WooCommerce to Inquiry
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.66 ▼0.66 | 6.23 ▲4.47 | 38.10 ▼10.28 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.98 | 103.79 ▼5.26 | 39.32 ▼7.74 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.06 | 39.58 ▲2.27 | 34.85 ▲2.77 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 18.46 ▼4.81 | 622.39 ▼50.77 | 46.81 ▼15.66 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.26 ▲0.06 | 102.29 ▼9.23 | 43.59 ▼4.68 |
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
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/woocommerce): failed to open dir: No such file or directory
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- can_compress_scripts
- woocommerce_cart_page_id
- woocommerce_checkout_page_id
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- woocommerce_email_footer_text
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 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/one-click-woocommerce-to-inquiry/trsolutions-inquirymodule.php:278
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Donate link: Please fix this invalid url: "#"
one-click-woocommerce-to-inquiry/trsolutions-inquirymodule.php 77% from 13 tests
The primary PHP file in "One click WooCommerce to Inquiry" version 1.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("one-click-woocommerce-to-inquiry.php" instead of "trsolutions-inquirymodule.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 plugin146 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 80 | 64 | 134 |
CSS | 1 | 0 | 0 | 6 |
JavaScript | 1 | 8 | 3 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin