Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.13ms] Passed 4 tests
Server-side resources used by FEWC - Extra Checkout Fields For WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.34 ▼8.08 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.78 ▼3.42 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.72 ▼2.65 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.96 ▼14.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.88 ▲1.31 |
Server storage [IO: ▲2.65MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for FEWC - Extra Checkout Fields For WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 13.19 ▼1.24 | 1.66 ▼0.09 | 41.63 ▼5.74 |
Dashboard /wp-admin | 2,211 ▲20 | 4.84 ▼0.97 | 97.61 ▼10.88 | 39.32 ▼3.56 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 35.02 ▼2.38 | 34.23 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,534 ▼3 | 18.30 ▼4.80 | 632.05 ▼23.06 | 52.85 ▼4.04 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.22 ▼0.01 | 95.46 ▼5.74 | 42.80 ▼0.47 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Display discount price on the products page), #2 (Display discount price on the products list), #3 (Cart discount)
fewc-extra-checkout-fields-for-woocommerce/fewc-extra-checkout-fields-for-woocommerce.php 92% from 13 tests
The main PHP file in "FEWC - Extra Checkout Fields For WooCommerce" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 231 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected9,854 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 3,792 |
PHP | 13 | 172 | 141 | 2,875 |
JavaScript | 18 | 2 | 54 | 1,528 |
CSS | 21 | 62 | 104 | 921 |
Sass | 4 | 47 | 0 | 738 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 49.30 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 237.00 |
Average method complexity | 6.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 28 | 31.11% |
▷ Public methods | 81 | 90.00% |
▷ Protected methods | 7 | 7.78% |
▷ Private methods | 2 | 2.22% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |