GCC Code Coverage Report


Directory: ./
File: tasks/yurkin_g_ruler/seq/src/ops_seq.cpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 13 13 100.0%
Functions: 5 5 100.0%
Branches: 2 4 50.0%

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