GCC Code Coverage Report


Directory: ./
File: tasks/tabalaev_a_linear_topology/seq/src/ops_seq.cpp
Date: 2026-01-27 01:59:34
Exec Total Coverage
Lines: 11 11 100.0%
Functions: 5 5 100.0%
Branches: 4 8 50.0%

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