Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲1.38MB] [CPU: ▲537.94ms] 50% from 4 tests
A check of server-side resources used by Voice Shopping for WooCommerce
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 692.36ms on /wp-admin/options-general.php?page=wcv-assistant-settings)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 537.94ms on /wp-admin/options-general.php?page=wcv-assistant-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.83 ▲1.37 | 598.00 ▲556.65 |
Dashboard /wp-admin | 4.69 ▲1.39 | 579.69 ▲525.81 |
Posts /wp-admin/edit.php | 4.75 ▲1.39 | 603.31 ▲552.68 |
Add New Post /wp-admin/post-new.php | 7.30 ▲1.41 | 626.53 ▲530.95 |
Media Library /wp-admin/upload.php | 4.62 ▲1.39 | 581.07 ▲542.33 |
Voice Shopping For Woocommerce /wp-admin/options-general.php?page=wcv-assistant-settings | 4.62 | 692.36 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 178 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_theysaidso_widget |
wcv_assistant_floating_mic_position |
wcv_assistant_api_system_key |
wcv_assistant_voice |
wcv_assistant_license_key |
wcv_assistant_mic_listening_timeout |
wcv_assistant_searchable_hints |
theysaidso_admin_options |
widget_recent-posts |
wcv_assistant_type_of_search |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Voice Shopping for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲208 | 14.80 ▲0.16 | 6.97 ▲4.91 | 47.19 ▲2.60 |
Dashboard /wp-admin | 2,283 ▲106 | 5.57 ▼0.03 | 86.95 ▼9.51 | 64.91 ▲23.93 |
Posts /wp-admin/edit.php | 2,189 ▲92 | 2.16 ▲0.15 | 39.23 ▲1.73 | 36.73 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,596 ▲68 | 21.18 ▼1.79 | 682.57 ▲68.69 | 53.29 ▼3.65 |
Media Library /wp-admin/upload.php | 1,479 ▲76 | 4.06 ▼0.24 | 99.00 ▼3.33 | 73.46 ▲30.49 |
Voice Shopping For Woocommerce /wp-admin/options-general.php?page=wcv-assistant-settings | 11,155 | 1.76 | 27.50 | 117.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 17 options
- theysaidso_admin_options
- can_compress_scripts
- wcv_assistant_first_activation
- wcv_assistant_searchable_hints
- wcv_assistant_api_system_key
- widget_recent-posts
- wcv_assistant_mic_listening_timeout
- wcv_assistant_floating_mic_position
- widget_theysaidso_widget
- wcv_assistant_trial_valid_until
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 text when accessed directly:
- > /wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/bootstrap.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/OAuthTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/HttpClientExceptionTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/BasicAuthTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/RequestTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/ClientTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/ResponseTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/voice-shopping-for-woocommerce/classes/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/OptionsTest.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please describe screenshot #6 in voice-shopping-for-woocommerce/assets to your readme.txt
- Tags: You are using too many tags: 14 tag instead of maximum 10
voice-shopping-for-woocommerce/voice-shopping-for-woocommerce.php 85% from 13 tests
Analyzing the main PHP file in "Voice Shopping for WooCommerce" version 2.0.0
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 196 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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 plugin11,838 lines of code in 72 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 935 | 1,575 | 6,884 |
JavaScript | 14 | 819 | 974 | 3,421 |
CSS | 4 | 20 | 49 | 1,080 |
SVG | 12 | 1 | 4 | 181 |
Markdown | 1 | 40 | 0 | 118 |
JSON | 4 | 0 | 0 | 107 |
XML | 2 | 1 | 0 | 26 |
YAML | 2 | 6 | 0 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 310.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 191 | |
▷ Static methods | 27 | 14.14% |
▷ Public methods | 158 | 82.72% |
▷ Protected methods | 26 | 13.61% |
▷ Private methods | 7 | 3.66% |
Functions | 15 | |
▷ Named functions | 4 | 26.67% |
▷ Anonymous functions | 11 | 73.33% |
Constants | 35 | |
▷ Global constants | 11 | 31.43% |
▷ Class constants | 24 | 68.57% |
▷ Public constants | 24 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wcva-widget-robot.png | 0.96KB | 0.98KB | 0.00% |
images/wcva-floating-mic-icon.png | 0.82KB | 0.86KB | 0.00% |
images/speak2web_logo.png | 3.16KB | 3.26KB | 0.00% |
images/Voice Assistant Bot Icon.png | 3.06KB | 3.20KB | 0.00% |
images/wcva-floating-robot-icon.png | 1.25KB | 1.30KB | 0.00% |