Benchmarks
Plugin footprint 83% from 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 gracefully, with no errors
Server metrics [RAM: ▲0.43MB] [CPU: ▼5.14ms] Passed 4 tests
Analyzing server-side resources used by MIPL WC Checkout Fields
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 37.33 ▼13.04 |
Dashboard /wp-admin | 3.72 ▲0.42 | 46.78 ▼5.77 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 46.86 ▼3.03 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.42 | 96.23 ▲1.60 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 35.73 ▲1.29 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MIPL WC Checkout Fields
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲198 | 13.82 ▼0.52 | 11.81 ▲9.32 | 35.75 ▼15.53 |
Dashboard /wp-admin | 2,209 ▲29 | 5.62 ▼0.09 | 90.87 ▼8.34 | 43.47 ▼0.99 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.98 ▲0.03 | 39.92 ▲1.92 | 34.90 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.03 ▼0.37 | 643.58 ▲5.33 | 50.07 ▼1.79 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.19 ▲0.04 | 99.11 ▲0.80 | 44.75 ▲3.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-checkout-order-placed-data.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-cf-setting-fields.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-cf-checkout-setting.php:2
- > PHP Notice
Undefined variable: order in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-checkout-order-placed-data.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-checkout-custom_field.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-checkout-order-placed-data.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/mipl-wc-checkout-fields/view/mipl-wc-checkout-group-setting.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/mipl-wc-checkout-fields/mipl-wc-checkout-fields.php:34
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Add new Checkout Fields Group.), #2 (Checkout Fields Groups Listing.), #3 (Checkout Default Fields.), #4 (Fields Group on Checkout Page.), #5 (Fields Group Repeat by Quantity on Checkout Page.), #6 (Fields Details in Order Edit Page.), #7 (Fields Details in Order Email.)
- Donate link: Invalid url: ""
mipl-wc-checkout-fields/mipl-wc-checkout-fields.php Passed 13 tests
The main file in "MIPL WC Checkout Fields" v. 1.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
102 characters long description:
Customize WooCommerce Checkout Fields, Create Group of custom fields & Update default checkout fields.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin6,654 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 800 | 109 | 3,433 |
JavaScript | 6 | 75 | 159 | 2,721 |
Markdown | 3 | 110 | 0 | 408 |
CSS | 4 | 11 | 17 | 92 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 59.40 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 115.00 |
Average method complexity | 6.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 6 | |
▷ Global constants | 6 | 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
There are no PNG files in this plugin