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.02MB] [CPU: ▼0.83ms] Passed 4 tests
An overview of server-side resources used by Custom Checkout Fields for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.19 ▲2.32 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.43 ▼2.33 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.88 ▼0.82 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.85 ▼2.47 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.54 ▲2.29 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Checkout Fields for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.31 ▲0.18 | 1.62 ▼0.08 | 39.49 ▲1.65 |
Dashboard /wp-admin | 2,192 ▲21 | 5.51 ▼0.15 | 98.53 ▼1.75 | 43.20 ▼4.16 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.00 | 39.29 ▼1.22 | 36.30 ▲4.76 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.25 ▼0.03 | 664.26 ▲72.62 | 65.19 ▲10.82 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.04 | 96.79 ▼10.39 | 47.17 ▲4.63 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Field options.) image not found
custom-checkout-fields-for-woocommerce/custom-checkout-fields-for-woocommerce.php Passed 13 tests
The principal PHP file in "Custom Checkout Fields for WooCommerce" v. 1.8.1 is loaded by WordPress automatically on each request
47 characters long description:
Add custom fields to WooCommerce checkout page.
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 plugin2,951 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 198 | 907 | 2,325 |
PO File | 1 | 153 | 166 | 399 |
JavaScript | 13 | 15 | 119 | 226 |
CSS | 1 | 2 | 8 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 27.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 160.00 |
Average method complexity | 5.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 69 | |
▷ Static methods | 1 | 1.45% |
▷ Public methods | 69 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected