GCC Code Coverage Report


Directory: ./
File: tasks/krymova_k_quick_sort_simple_merge/seq/src/ops_seq.cpp
Date: 2026-01-09 01:27:18
Exec Total Coverage
Lines: 15 15 100.0%
Functions: 5 5 100.0%
Branches: 4 8 50.0%

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