Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▲1.43ms] Passed 4 tests
Analyzing server-side resources used by Checkout Field Customizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 37.68 ▼5.27 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.43 ▼0.94 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.80 ▲5.90 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 98.78 ▲6.12 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 39.39 ▲6.01 |
Checkout Fields /wp-admin/admin.php?page=cfc-admin | 3.36 | 31.90 |
Server storage [IO: ▲0.42MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 13 new options
New WordPress options |
---|
cfc_order_fields |
cfc_shipping_fields |
can_compress_scripts |
cfc_default_shipping_fields |
cfc_default_order_fields |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
cfc_billing_fields |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Checkout Field Customizer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.61 ▼0.46 | 1.86 ▲0.04 | 46.59 ▲1.93 |
Dashboard /wp-admin | 2,209 ▲24 | 4.85 ▼1.06 | 103.51 ▼5.22 | 40.57 ▼6.40 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.01 | 40.81 ▲4.07 | 35.00 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.20 ▼5.32 | 610.24 ▼69.14 | 59.67 ▲7.08 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.26 ▲0.02 | 99.09 ▼0.46 | 42.74 ▼3.93 |
Checkout Fields /wp-admin/admin.php?page=cfc-admin | 991 | 3.71 | 99.84 | 31.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 13 options in the database
- db_upgraded
- cfc_default_shipping_fields
- can_compress_scripts
- cfc_shipping_fields
- widget_recent-posts
- cfc_default_billing_fields
- cfc_default_order_fields
- widget_recent-comments
- cfc_billing_fields
- theysaidso_admin_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 87% 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 your attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Checkout Field Lists), #2 (Create custom field), #3 (Create custom field)
checkout-field-customizer/checkout-field-customizer.php 85% from 13 tests
"Checkout Field Customizer" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,461 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 306 | 598 | 1,454 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 15.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 1 | 6.25% |
Methods | 91 | |
▷ Static methods | 19 | 20.88% |
▷ Public methods | 86 | 94.51% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.49% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.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 images were found in this plugin