### What Reach 90% line coverage and 90% branch coverage for the `score/TimeDaemon/` component. Steps: 1. Generate a per-component coverage report locally: ``` bazel coverage --config=time-x86_64-linux //score/TimeDaemon/... genhtml --branch-coverage bazel-out/_coverage/_coverage_report.dat -o coverage-report/ ``` 2. Identify files and branches below 90% 3. Add missing unit tests — focus areas: - `PTPMachine` — state transitions, timeout handling, error paths - `MessageBroker` — message routing, subscriber callbacks - `VerificationMachine` — validator chain execution - SVT validators: `TimeoutValidator`, `TimeJumpsValidator`, `SynchronizationValidator` — boundary and error conditions - `JobRunner` — concurrent `Start()` / `Stop()` paths (race condition regression, fixed in PR#15) ### References - S-CORE process (Coverage section): https://github.com/eclipse-score/score/blob/main/docs/contribute/development/cpp/code_analysis.rst - Reusable workflow parameters: https://github.com/eclipse-score/cicd-workflows/blob/main/.github/workflows/cpp-coverage.yml ### Estimates for realization M - Week ### Category - [ ] Affects Detailed Design ### Requirements / Architecture - [x] Requirements / Architecture are not affected by this change?
What
Reach 90% line coverage and 90% branch coverage for the
score/TimeDaemon/component.
Steps:
PTPMachine— state transitions, timeout handling, error pathsMessageBroker— message routing, subscriber callbacksVerificationMachine— validator chain executionTimeoutValidator,TimeJumpsValidator,SynchronizationValidator— boundary and error conditionsJobRunner— concurrentStart()/Stop()paths (race conditionregression, fixed in PR#15)
References
https://github.com/eclipse-score/score/blob/main/docs/contribute/development/cpp/code_analysis.rst
https://github.com/eclipse-score/cicd-workflows/blob/main/.github/workflows/cpp-coverage.yml
Estimates for realization
M - Week
Category
Requirements / Architecture