GCC Code Coverage Report


Directory: ./
File: tasks/shkrebko_m_shell_sort_batcher_merge/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 "shkrebko_m_shell_sort_batcher_merge/seq/include/ops_seq.hpp"
2
3 #include <vector>
4
5 #include "shkrebko_m_shell_sort_batcher_merge/common/include/common.hpp"
6 #include "shkrebko_m_shell_sort_batcher_merge/common/include/utils.hpp"
7
8 namespace shkrebko_m_shell_sort_batcher_merge {
9
10
1/2
✓ Branch 1 taken 24 times.
✗ Branch 2 not taken.
24 ShkrebkoMShellSortBatcherMergeSEQ::ShkrebkoMShellSortBatcherMergeSEQ(const InType &in) {
11 SetTypeOfTask(GetStaticTypeOfTask());
12
1/2
✓ Branch 1 taken 24 times.
✗ Branch 2 not taken.
24 GetInput() = in;
13 GetOutput() = {};
14 24 }
15
16 24 bool ShkrebkoMShellSortBatcherMergeSEQ::ValidationImpl() {
17 24 return true;
18 }
19
20 24 bool ShkrebkoMShellSortBatcherMergeSEQ::PreProcessingImpl() {
21 24 data_ = GetInput();
22 GetOutput().clear();
23 24 return true;
24 }
25
26 24 bool ShkrebkoMShellSortBatcherMergeSEQ::RunImpl() {
27 24 ShellSort(&data_);
28 24 GetOutput() = data_;
29 24 return true;
30 }
31
32 24 bool ShkrebkoMShellSortBatcherMergeSEQ::PostProcessingImpl() {
33 24 return true;
34 }
35
36 } // namespace shkrebko_m_shell_sort_batcher_merge
37