GCC Code Coverage Report


Directory: ./
File: tasks/shkrebko_m_hypercube/common/include/common.hpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 8 20 40.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <string>
4 #include <tuple>
5 #include <vector>
6
7 #include "task/include/task.hpp"
8
9 namespace shkrebko_m_hypercube {
10
11
8/20
✓ Branch 0 taken 30 times.
✗ Branch 1 not taken.
✗ Branch 3 not taken.
✓ Branch 4 taken 24 times.
✗ Branch 6 not taken.
✓ Branch 7 taken 3 times.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
✓ Branch 10 taken 3 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 6 times.
✗ Branch 13 not taken.
✓ Branch 15 taken 6 times.
✗ Branch 16 not taken.
✗ Branch 18 not taken.
✓ Branch 19 taken 6 times.
✗ Branch 21 not taken.
✓ Branch 22 taken 3 times.
✗ Branch 24 not taken.
✗ Branch 25 not taken.
81 struct HypercubeData {
12 int value{0};
13 int destination{0};
14 std::vector<int> path;
15 bool finish{false};
16
17 HypercubeData() = default;
18 };
19
20 using InType = std::vector<int>;
21 using OutType = HypercubeData;
22 using TestType = std::tuple<int, std::string>;
23 using BaseTask = ppc::task::Task<InType, OutType>;
24
25 } // namespace shkrebko_m_hypercube
26