Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.38ms] Passed 4 tests
An overview of server-side resources used by Checkout Field Editor (Checkout Manager) for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.99 ▼5.91 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.88 ▼4.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.08 ▼7.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.22 ▼15.81 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.44 ▼4.31 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Checkout Field Editor (Checkout Manager) for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.27 ▲0.11 | 1.64 ▼0.08 | 42.72 ▲0.52 |
Dashboard /wp-admin | 2,195 ▲15 | 5.53 ▼0.29 | 84.00 ▼12.12 | 39.25 ▼1.30 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.94 ▼0.00 | 39.19 ▼8.87 | 34.48 ▼6.57 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.20 ▼0.23 | 684.01 ▼16.49 | 55.33 ▼0.12 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.21 ▼0.08 | 102.62 ▼5.58 | 43.66 ▼3.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 detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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 need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
woo-checkout-field-editor-pro/checkout-form-designer.php 85% from 13 tests
Analyzing the main PHP file in "Checkout Field Editor (Checkout Manager) for WooCommerce" version 2.0.0
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-checkout-field-editor-pro.php" instead of "checkout-form-designer.php")
- Requires at least: Required version must match the one declared in readme.txt ("4.9" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin5,675 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 767 | 368 | 4,444 |
JavaScript | 3 | 202 | 53 | 1,036 |
SVG | 16 | 0 | 0 | 193 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 64.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 232.00 |
Average method complexity | 4.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 224 | |
▷ Static methods | 39 | 17.41% |
▷ Public methods | 151 | 67.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 73 | 32.59% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
23 compressed PNG files occupy 0.27MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/wp-plugins/extra-product-options.png | 2.41KB | 2.46KB | 0.00% |
admin/assets/css/review-tab.png | 16.35KB | 17.02KB | 0.00% |
admin/assets/images/wp-plugins/wishlist-compare.png | 2.38KB | 2.41KB | 0.00% |
admin/assets/css/review-left.png | 8.22KB | 4.15KB | ▼ 49.47% |
admin/assets/images/wp-plugins/job-manager.png | 2.62KB | 2.68KB | 0.00% |