Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲3.02ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Checkout Field Editor (Checkout Manager)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 40.04 ▲3.24 |
Dashboard /wp-admin | 3.42 ▲0.12 | 52.90 ▲4.75 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 55.91 ▲4.28 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 96.05 ▼0.20 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.00 ▲6.07 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
jwcfe_activation_redirect |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Checkout Field Editor (Checkout Manager)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.07 ▼0.28 | 2.13 ▲0.36 | 41.32 ▼1.77 |
Dashboard /wp-admin | 2,192 ▲12 | 5.56 ▼0.05 | 108.17 ▲15.89 | 47.55 ▲3.99 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▼0.05 | 48.69 ▲5.80 | 42.34 ▲2.89 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 21.10 ▼2.29 | 776.99 ▲62.17 | 63.50 ▲12.18 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.22 ▲0.08 | 110.10 ▲2.81 | 46.00 ▲4.36 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- jwcfe_activation_redirect
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-checkout-regsiter-field-editor/classes/class-jwcfe-wc-checkout-field-editor-export-handler.php
- > /wp-content/plugins/woo-checkout-regsiter-field-editor/main.php
- > /wp-content/plugins/woo-checkout-regsiter-field-editor/classes/class-jwcfe-wc-checkout-field-editor.php
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 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
woo-checkout-regsiter-field-editor/main.php 69% from 13 tests
Analyzing the main PHP file in "WooCommerce Checkout Field Editor (Checkout Manager)" version 2.0.12
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9" instead of "3.0.0")
- Description: The description should be shorter than 140 characters (currently 178 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-checkout-regsiter-field-editor.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin3,695 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 523 | 56 | 1,656 |
PHP | 3 | 595 | 197 | 1,639 |
CSS | 2 | 42 | 3 | 400 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 92.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 6.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 35 | 97.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.78% |
Functions | 28 | |
▷ Named functions | 26 | 92.86% |
▷ Anonymous functions | 2 | 7.14% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
6 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/upgrade-btn.png | 7.61KB | 2.20KB | ▼ 71.09% |
assets/css/update_notify.png | 26.08KB | 4.34KB | ▼ 83.36% |
assets/docicon.png | 0.54KB | 0.47KB | ▼ 14.52% |
assets/css/tick.png | 3.05KB | 0.27KB | ▼ 91.20% |
assets/css/Upgrade-to-premium-version.png | 13.78KB | 5.22KB | ▼ 62.15% |