GCC Code Coverage Report


Directory: ./
File: src/iguana/algorithms/Validator.cc
Date: 2025-01-05 09:03:17
Exec Total Coverage
Lines: 5 5 100.0%
Functions: 2 2 100.0%
Branches: 1 2 50.0%

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