| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "Validator.h" | ||
| 2 | |||
| 3 | namespace iguana { | ||
| 4 | |||
| 5 | 10 | void Validator::SetOutputDirectory(std::string_view output_dir) | |
| 6 | { | ||
| 7 |
1/2✗ Branch 2 → 3 not taken.
✓ Branch 2 → 4 taken 10 times.
|
10 | m_output_dir = output_dir; |
| 8 | 10 | } | |
| 9 | |||
| 10 | 19 | std::optional<std::string> Validator::GetOutputDirectory() | |
| 11 | { | ||
| 12 |
1/2✓ Branch 2 → 3 taken 19 times.
✗ Branch 2 → 7 not taken.
|
19 | if(m_output_dir != "") |
| 13 | return m_output_dir; | ||
| 14 | ✗ | return {}; | |
| 15 | } | ||
| 16 | |||
| 17 | } | ||
| 18 |