GCC Code Coverage Report


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

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