GCC Code Coverage Report


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

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