GCC Code Coverage Report


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

Line Branch Exec Source
1 #include "kondrashova_v_ring_topology/seq/include/ops_seq.hpp"
2
3 #include "kondrashova_v_ring_topology/common/include/common.hpp"
4
5 namespace kondrashova_v_ring_topology {
6
7
1/2
✓ Branch 1 taken 48 times.
✗ Branch 2 not taken.
48 KondrashovaVRingTopologySEQ::KondrashovaVRingTopologySEQ(const InType &in) {
8 SetTypeOfTask(GetStaticTypeOfTask());
9 GetInput() = in;
10 48 }
11
12 48 bool KondrashovaVRingTopologySEQ::ValidationImpl() {
13 const auto &input = GetInput();
14
2/4
✓ Branch 0 taken 48 times.
✗ Branch 1 not taken.
✗ Branch 2 not taken.
✓ Branch 3 taken 48 times.
48 return input.source >= 0 && input.recipient >= 0;
15 }
16
17
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 48 times.
48 bool KondrashovaVRingTopologySEQ::PreProcessingImpl() {
18 GetOutput().clear();
19 48 return true;
20 }
21
22 48 bool KondrashovaVRingTopologySEQ::RunImpl() {
23 const auto &input = GetInput();
24 48 result_ = input.data;
25 48 return true;
26 }
27
28 48 bool KondrashovaVRingTopologySEQ::PostProcessingImpl() {
29 48 GetOutput() = result_;
30 48 return true;
31 }
32
33 } // namespace kondrashova_v_ring_topology
34