GCC Code Coverage Report


Directory: ./
File: tasks/trofimov_n_linear_topology/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: 2 4 50.0%

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