GCC Code Coverage Report


Directory: ./
File: tasks/bortsova_a_transmission_gather/seq/src/ops_seq.cpp
Date: 2026-01-27 01:59:34
Exec Total Coverage
Lines: 14 14 100.0%
Functions: 5 5 100.0%
Branches: 1 2 50.0%

Line Branch Exec Source
1 #include "bortsova_a_transmission_gather/seq/include/ops_seq.hpp"
2
3 #include <vector>
4
5 #include "bortsova_a_transmission_gather/common/include/common.hpp"
6
7 namespace bortsova_a_transmission_gather {
8
9
1/2
✓ Branch 1 taken 24 times.
✗ Branch 2 not taken.
24 BortsovaATransmissionGatherSEQ::BortsovaATransmissionGatherSEQ(const InType &in) {
10 SetTypeOfTask(GetStaticTypeOfTask());
11 GetInput() = in;
12 24 GetOutput() = OutType{};
13 24 }
14
15 24 bool BortsovaATransmissionGatherSEQ::ValidationImpl() {
16 24 int root = GetInput().root;
17 24 return root == 0;
18 }
19
20 24 bool BortsovaATransmissionGatherSEQ::PreProcessingImpl() {
21 24 return true;
22 }
23
24 24 bool BortsovaATransmissionGatherSEQ::RunImpl() {
25 24 const std::vector<double> &send_data = GetInput().send_data;
26 24 GetOutput().recv_data = send_data;
27 24 return true;
28 }
29
30 24 bool BortsovaATransmissionGatherSEQ::PostProcessingImpl() {
31 24 return true;
32 }
33
34 } // namespace bortsova_a_transmission_gather
35