Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.51ms] Passed 4 tests
This is a short check of server-side resources used by Whole Enquiry Cart for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.04 ▼2.85 |
Dashboard /wp-admin | 3.35 ▲0.00 | 48.58 ▼19.55 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.84 ▲0.33 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.44 ▼15.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.90 ▼0.18 |
Woo Whole Cart Enquiry /wp-admin/options-general.php?page=woowhole | 3.21 | 32.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
woowhole_from_emailaddress |
widget_recent-posts |
can_compress_scripts |
woowhole_failed_msg |
db_upgraded |
woowhole_title |
theysaidso_admin_options |
widget_recent-comments |
woowhole_success_msg |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Whole Enquiry Cart for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 13.23 ▼1.15 | 2.14 ▲0.20 | 39.99 ▼4.98 |
Dashboard /wp-admin | 2,225 ▲22 | 5.79 ▲0.89 | 101.21 ▼7.57 | 42.07 ▼2.36 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.05 ▲0.00 | 39.96 ▲2.99 | 35.47 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,549 ▲18 | 23.64 ▲0.59 | 597.96 ▼55.37 | 47.96 ▼2.97 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.20 ▼0.04 | 98.02 ▼4.60 | 44.01 ▼0.57 |
Woo Whole Cart Enquiry /wp-admin/options-general.php?page=woowhole | 864 | 2.03 | 25.00 | 28.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 12 options
- can_compress_scripts
- theysaidso_admin_options
- woowhole_title
- widget_recent-comments
- woowhole_from_name
- woowhole_success_msg
- widget_theysaidso_widget
- woowhole_from_emailaddress
- woowhole_failed_msg
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=woowhole
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=woowhole
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/whole-cart-enquiry/admin.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/whole-cart-enquiry/frontend.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/whole-cart-enquiry/admin.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: email cart, enquiry cart, woocommerce enquiry, enquiry, woocommerce inquiry...
whole-cart-enquiry/whole-enquiry-cart-page.php 92% from 13 tests
"Whole Enquiry Cart for WooCommerce" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("whole-cart-enquiry.php" instead of "whole-enquiry-cart-page.php")
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
Success! There were no dangerous files found in this plugin256 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 13 | 142 |
CSS | 1 | 18 | 0 | 103 |
JavaScript | 1 | 6 | 0 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 7 | |
▷ Named functions | 7 | 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
There were not PNG files found in your plugin