GCC Code Coverage Report


Directory: ./
File: src/iguana/algorithms/Validator.cc
Date: 2025-03-24 18:50:00
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 9 void Validator::SetOutputDirectory(std::string_view output_dir)
6 {
7 9 m_output_dir = output_dir;
8 9 }
9
10 18 std::optional<std::string> Validator::GetOutputDirectory()
11 {
12
1/2
✓ Branch 0 (2→3) taken 18 times.
✗ Branch 1 (2→5) not taken.
18 if(m_output_dir != "")
13 return m_output_dir;
14 return {};
15 }
16
17 }
18