Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.97MB] [CPU: ▲556.93ms] 50% from 4 tests
A check of server-side resources used by Voice Assistant Dialog Navigation
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 626.36ms on /wp-admin/options-general.php?page=vd-navigation-settings)
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 556.93ms on /wp-admin/options-general.php?page=vd-navigation-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.90 | 586.78 ▲545.11 |
Dashboard /wp-admin | 4.30 ▲1.00 | 608.38 ▲561.38 |
Posts /wp-admin/edit.php | 4.35 ▲1.00 | 625.96 ▲576.57 |
Add New Post /wp-admin/post-new.php | 6.90 ▲1.01 | 652.78 ▲560.97 |
Media Library /wp-admin/upload.php | 4.22 ▲1.00 | 597.73 ▲560.25 |
Voice Dialog – Navigation /wp-admin/options-general.php?page=vd-navigation-settings | 4.14 | 626.36 |
Server storage [IO: ▲2.97MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 138 new files
Database: no new tables, 17 new options
New WordPress options |
---|
vd_navigation_mic_listening_timeout |
widget_recent-comments |
vd_navigation_license_key |
vd_navigation_settings_updated_timestamp |
vd_navigation_first_activation |
vd_navigation_searchable_hints |
vd_navigation_type_of_search |
vd_navigation_trial_valid_until |
vd_navigation_uuid |
vd_navigation_api_system_key |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Voice Assistant Dialog Navigation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲267 | 14.81 ▲0.42 | 6.17 ▲4.50 | 41.89 ▲0.28 |
Dashboard /wp-admin | 2,294 ▲106 | 5.87 ▲0.91 | 96.26 ▼9.73 | 72.44 ▲27.52 |
Posts /wp-admin/edit.php | 2,177 ▲88 | 2.12 ▲0.13 | 35.13 ▼1.26 | 34.56 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,748 ▲234 | 20.40 ▲2.86 | 712.73 ▲36.46 | 60.34 ▲0.38 |
Media Library /wp-admin/upload.php | 1,467 ▲79 | 4.26 ▲0.01 | 109.13 ▲11.28 | 77.33 ▲34.91 |
Voice Dialog – Navigation /wp-admin/options-general.php?page=vd-navigation-settings | 8,833 | 1.85 | 30.20 | 98.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 17 options in the database
- can_compress_scripts
- vd_navigation_first_activation
- vd_navigation_settings_updated_timestamp
- vd_navigation_uuid
- vd_navigation_floating_mic_position
- vd_navigation_api_system_key
- db_upgraded
- vd_navigation_trial_valid_until
- widget_recent-comments
- vd_navigation_license_key
- ...
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
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
voice-dialog-navigation/voice-dialog-navigation.php 85% from 13 tests
The entry point to "Voice Assistant Dialog Navigation" version 3.2.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Description: The description should be shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected8,711 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 463 | 640 | 4,662 |
JavaScript | 14 | 726 | 904 | 2,943 |
CSS | 4 | 12 | 49 | 985 |
SVG | 10 | 1 | 2 | 104 |
JSON | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 44.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 6.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 19 | 35.85% |
▷ Public methods | 45 | 84.91% |
▷ Protected methods | 3 | 5.66% |
▷ Private methods | 5 | 9.43% |
Functions | 11 | |
▷ Named functions | 2 | 18.18% |
▷ Anonymous functions | 9 | 81.82% |
Constants | 31 | |
▷ Global constants | 4 | 12.90% |
▷ Class constants | 27 | 87.10% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to 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/vdn-floating-robot-icon.png | 1.25KB | 1.30KB | 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/vdn-floating-mic-icon.png | 0.82KB | 0.86KB | 0.00% |
images/vdn-widget-robot.png | 0.96KB | 0.98KB | 0.00% |