How n-romanovich/usb-test works
USB Test is a Windows utility for checking removable drives. Its principal workflow is to launch the app, choose a drive and test mode, run sector checks, and review results. The README also describes history, comparison, import/export, and feedback capabilities. The sampled entry point calls language setup and the main menu and initializes the drive list; most feature implementations were not sampled, so their internal wiring is left unverified.
Main entry points: menu.cpp Menus · main.cpp Application entry · json_utils.cpp Test data · drivetest.cpp Sector tests
Components 13
User interface
- Application entry
USB Test/src/main.cpp - Menus
USB Test/src/menu.cpp - Prompts and results
USB Test/src/messages.cpp
Drive testing
- Drive information
USB Test/src/driveinfo.cpp - Sector tests
USB Test/src/drivetest.cpp
Test records
- JSON support
USB Test/src/include/json.hpp - Test data
USB Test/src/json_utils.cpp - Test history
USB Test/src/history.cpp
App support
- Language setup
USB Test/src/lang.cpp - Feedback
USB Test/src/feedback.cpp - Update check
USB Test/src/version.cpp
Other components
- User
- Version server
Connections 12
- User → Application entry: launches
README.md - Application entry → Language setup: sets language
USB Test/src/main.cpp - Application entry → Menus: opens menu
USB Test/src/main.cpp - Application entry → Drive information: loads drives
USB Test/src/main.cpp - Menus → Sector tests: starts test
- Menus → Test history: opens history
- Menus → Test data: offers comparison
- Sector tests → Test data: records results
- Test data → JSON support: uses JSON
- Menus → Feedback: offers feedback
- Menus → Update check: checks updates
- Update check → Version server: checks version
USB Test/src/version.cpp