GCC Code Coverage Report


Directory: ./
File: tasks/kutergin_a_allreduce/common/include/common.hpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 3 6 50.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 kutergin_a_allreduce {
10
11
3/6
✓ Branch 1 taken 8 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 8 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✓ Branch 6 taken 40 times.
64 struct InData {
12 std::vector<int> elements;
13 int root;
14
15 bool operator==(const InData &other) const {
16 return elements == other.elements && root == other.root;
17 }
18 };
19
20 using InType = InData;
21 using OutType = int;
22 using BaseTask = ppc::task::Task<InType, OutType>;
23 using TestType = std::tuple<int, int, std::string>;
24
25 } // namespace kutergin_a_allreduce
26