Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼144.18ms] Passed 4 tests
A check of server-side resources used by WooCommerce Easy Autocomplete Orders
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 44.72 ▲7.67 |
Dashboard /wp-admin | 3.06 ▲0.01 | 48.84 ▼2.01 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 50.26 ▲0.59 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 96.52 ▼569.97 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 33.68 ▼5.31 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Easy Autocomplete Orders
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.94 ▼0.02 | 10.19 ▼2.40 | 47.00 ▼2.28 |
Dashboard /wp-admin | 2,973 ▲42 | 5.91 ▼0.03 | 164.48 ▼64.72 | 112.78 ▼7.88 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 70.79 ▲2.81 | 86.92 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,500 ▼94 | 18.55 ▼0.27 | 400.53 ▼0.89 | 107.71 ▼3.09 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.01 ▼0.03 | 157.83 ▼0.39 | 113.96 ▼11.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
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 | 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 errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-easy-autocomplete-order/woo-easy-autocomplete-order.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: woocommerce, autocomplete-orders, paid_date-for-cheque-order
woo-easy-autocomplete-order/woo-easy-autocomplete-order.php Passed 13 tests
The principal PHP file in "WooCommerce Easy Autocomplete Orders" v. 1.1 is loaded by WordPress automatically on each request
125 characters long description:
Autocomplete order for the type of payment "Check payments(cheque)", "Cash on delivery(cod)" or "Direct bank transfer(bacs)"
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin21 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 26 | 21 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.17 |
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 | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin