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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.50MB] [CPU: ▼9.80ms] Passed 4 tests
An overview of server-side resources used by Customize My Account for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 27.37 ▼15.33 |
Dashboard /wp-admin | 3.81 ▲0.47 | 48.72 ▼13.14 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 51.15 ▲2.21 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.53 | 89.62 ▼12.93 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 37.83 ▲5.91 |
Server storage [IO: ▲2.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 109 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
wcmamtx_endpoint_allowed_to_add |
widget_recent-comments |
wcmamtx_groups_allowed_to_add |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Customize My Account for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,458 ▼289 | 14.28 ▲0.01 | 0.48 ▼1.28 | 17.91 ▼27.38 |
Dashboard /wp-admin | 2,196 ▲22 | 5.59 ▼0.06 | 98.09 ▼1.56 | 41.60 ▼2.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 40.22 ▲1.38 | 33.14 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.41 ▲0.10 | 665.66 ▼36.88 | 65.24 ▲12.45 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.23 ▲0.06 | 98.20 ▼0.39 | 41.00 ▼0.81 |
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: 8 options
- widget_recent-comments
- can_compress_scripts
- wcmamtx_endpoint_allowed_to_add
- widget_recent-posts
- theysaidso_admin_options
- wcmamtx_groups_allowed_to_add
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 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 50% from 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
Please fix the following
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/payment-methods.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/my-address.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/navigation.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/downloads.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/form-add-payment-method.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/form-edit-account.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-my-account-for-woocommerce/include/wcmamtx_frontend_customizer.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-my-account-for-woocommerce/include/wcmamtx_extra_functions.php:869
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/dashboard.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/customize-my-account-for-woocommerce/elementor-addon/widgets/view-order.php:2
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% 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:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: A description for screenshot #8 is required in customize-my-account-for-woocommerce/assets to your readme.txt
customize-my-account-for-woocommerce/customize-my-account-for-woocommerce.php 92% from 13 tests
The main PHP script in "Customize My Account for WooCommerce" version 2.0.11 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "3.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin8,237 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 2,427 | 475 | 4,238 |
CSS | 16 | 252 | 124 | 2,061 |
JavaScript | 15 | 680 | 150 | 1,931 |
XML | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 28.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 107 | 88.43% |
▷ Protected methods | 14 | 11.57% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 22 | 66.67% |
▷ Anonymous functions | 11 | 33.33% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_cc0000_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/css/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/images/icon.png | 0.75KB | 0.92KB | 0.00% |
assets/css/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
assets/css/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |