GCC Code Coverage Report


Directory: ./
File: tasks/mityaeva_radix/omp/src/ops_omp.cpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 13 13 100.0%
Functions: 5 5 100.0%
Branches: 2 4 50.0%

Line Branch Exec Source
1 #include "mityaeva_radix/omp/include/ops_omp.hpp"
2
3 #include "mityaeva_radix/common/include/common.hpp"
4 #include "mityaeva_radix/omp/include/sorter_omp.hpp"
5
6 namespace mityaeva_radix {
7
8
1/2
✓ Branch 1 taken 48 times.
✗ Branch 2 not taken.
48 MityaevaRadixOmp::MityaevaRadixOmp(const InType &in) {
9 SetTypeOfTask(GetStaticTypeOfTask());
10
1/2
✓ Branch 1 taken 48 times.
✗ Branch 2 not taken.
48 GetInput() = in;
11 GetOutput() = {};
12 48 }
13
14 48 bool MityaevaRadixOmp::ValidationImpl() {
15 48 return !GetInput().empty();
16 }
17
18 48 bool MityaevaRadixOmp::PreProcessingImpl() {
19 48 return true;
20 }
21
22 48 bool MityaevaRadixOmp::RunImpl() {
23 auto &array = GetInput();
24 48 SorterOmp::Sort(array);
25 48 GetOutput() = array;
26 48 return true;
27 }
28
29 48 bool MityaevaRadixOmp::PostProcessingImpl() {
30 48 return true;
31 }
32
33 } // namespace mityaeva_radix
34