Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼6.43ms] Passed 4 tests
An overview of server-side resources used by Request a Quote for WooCommerce and Elementor - Get a Quote Button - Product Enquiry Form Popup - Product Quotation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.63 ▼4.26 |
Dashboard /wp-admin | 3.56 ▲0.21 | 49.44 ▼11.19 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 48.67 ▲0.07 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 86.10 ▼10.34 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 37.59 ▲4.32 |
Quote Button /wp-admin/options-general.php?page=get-a-quote-button | 3.48 | 39.65 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 12 new options
New WordPress options |
---|
btn_settings |
wpb_gqb_installed |
wpb_gqb_version |
widget_theysaidso_widget |
db_upgraded |
popup_settings |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Request a Quote for WooCommerce and Elementor - Get a Quote Button - Product Enquiry Form Popup - Product Quotation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲221 | 13.93 ▼0.41 | 10.42 ▲8.75 | 37.14 ▼6.63 |
Dashboard /wp-admin | 2,258 ▲81 | 5.60 ▼0.04 | 91.71 ▼6.39 | 48.88 ▲5.84 |
Posts /wp-admin/edit.php | 2,164 ▲61 | 2.17 ▲0.21 | 39.41 ▼1.74 | 45.01 ▲8.85 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.33 ▼0.18 | 667.49 ▲22.26 | 51.23 ▲3.05 |
Media Library /wp-admin/upload.php | 1,466 ▲66 | 4.20 ▼0.00 | 96.48 ▼3.25 | 48.12 ▲7.73 |
Quote Button /wp-admin/options-general.php?page=get-a-quote-button | 1,957 | 3.96 | 94.29 | 42.63 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 12 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- woo_settings
- widget_theysaidso_widget
- db_upgraded
- popup_settings
- form_settings
- wpb_gqb_version
- widget_recent-posts
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
get-a-quote-button-for-woocommerce/main.php 85% from 13 tests
The primary PHP file in "Request a Quote for WooCommerce and Elementor - Get a Quote Button - Product Enquiry Form Popup - Product Quotation" version 1.3.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("get-a-quote-button-for-woocommerce.php" instead of "main.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,755 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 267 | 286 | 947 |
CSS | 3 | 7 | 6 | 557 |
JavaScript | 3 | 47 | 48 | 181 |
SVG | 1 | 1 | 3 | 60 |
XML | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 18.43 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 2 | 3.23% |
▷ Public methods | 62 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 6 | 60.00% |
▷ Anonymous functions | 4 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected