Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.05MB] [CPU: ▼41.93ms] Passed 4 tests
This is a short check of server-side resources used by Customer List Export for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▼0.53 | 13.06 ▼27.01 |
Dashboard /wp-admin | 2.96 ▼0.34 | 15.39 ▼31.78 |
Posts /wp-admin/edit.php | 2.96 ▼0.39 | 16.01 ▼27.94 |
Add New Post /wp-admin/post-new.php | 2.96 ▼2.92 | 16.24 ▼80.97 |
Media Library /wp-admin/upload.php | 2.96 ▼0.26 | 14.11 ▼22.61 |
Server storage [IO: ▲4.75MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 1,686 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Customer List Export for Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.29 ▼1.09 | 1.68 ▼0.03 | 44.77 ▲3.22 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▼0.09 | 96.40 ▼4.14 | 38.88 ▼5.36 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.03 | 33.13 ▼0.50 | 36.99 ▲4.96 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 18.46 ▲0.12 | 658.78 ▲68.41 | 68.19 ▲11.63 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.18 ▼0.02 | 94.99 ▼14.72 | 42.20 ▼5.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/customer-list-export-for-woocommerce/src/Loader.php+69
Undefined index: source
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/customer-list-export-for-woocommerce/src/resources/pages/admin/main.blade.php
- 263× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Carbon\\Exceptions\\InvalidArgumentException' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php:17
- > PHP Fatal error
Trait 'Carbon\\Traits\\Boundaries' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/src/Carbon/Traits/Date.php on line 527
- > PHP Fatal error
Uncaught Error: Interface 'Carbon\\Exceptions\\BadMethodCallException' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php:17
- > PHP Fatal error
Trait 'Carbon\\Traits\\ObjectInitialisation' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 36
- > PHP Fatal error
Uncaught Error: Class 'Carbon\\PHPStan\\AbstractReflectionMacro' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/lazy/Carbon/PHPStan/MacroStrongType.php:17
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/illuminate/support/Facades/Http.php:56
- > PHP Fatal error
Trait 'Illuminate\\Support\\Traits\\Macroable' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/illuminate/support/Optional.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Illuminate\\View\\ViewFinderInterface' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/illuminate/view/FileViewFinder.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\SimpleCache\\CacheInterface' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/illuminate/contracts/Cache/Repository.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon\\AbstractTranslator' not found in wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/lazy/Carbon/TranslatorStrongType.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Contributors: Contributors not specified
customer-list-export-for-woocommerce/customer-list-export-for-woocommerce.php Passed 13 tests
The main file in "Customer List Export for Woocommerce" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
Export a customer list with addresses from WooCommerce
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Almost there! Just fix the following issues
- Do not distribute dangerous files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/customer-list-export-for-woocommerce/vendor/nesbot/carbon/bin/carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,397 | 12,689 | 44,356 | 59,526 |
XSD | 3 | 92 | 48 | 2,803 |
JSON | 27 | 0 | 0 | 2,677 |
Markdown | 20 | 460 | 1 | 1,120 |
JavaScript | 2 | 1 | 7 | 357 |
reStructuredText | 1 | 74 | 78 | 74 |
Blade | 1 | 0 | 0 | 46 |
CSS | 1 | 1 | 0 | 17 |
DOS Batch | 1 | 0 | 0 | 4 |
YAML | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 318.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 94 | |
Interfaces | 148 | |
Traits | 61 | |
Classes | 344 | |
▷ Abstract classes | 22 | 6.40% |
▷ Concrete classes | 322 | 93.60% |
▷ Final classes | 39 | 12.11% |
Methods | 4,196 | |
▷ Static methods | 680 | 16.21% |
▷ Public methods | 3,513 | 83.72% |
▷ Protected methods | 534 | 12.73% |
▷ Private methods | 149 | 3.55% |
Functions | 658 | |
▷ Named functions | 139 | 21.12% |
▷ Anonymous functions | 519 | 78.88% |
Constants | 204 | |
▷ Global constants | 8 | 3.92% |
▷ Class constants | 196 | 96.08% |
▷ Public constants | 191 | 97.45% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.31MB with 0.26MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 318.19KB | 49.41KB | ▼ 84.47% |