GCC Code Coverage Report


Directory: ./
File: tasks/mityaeva_radix/tbb/src/ops_tbb.cpp
Date: 2026-05-11 08:26:31
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/tbb/include/ops_tbb.hpp"
2
3 #include "mityaeva_radix/common/include/common.hpp"
4 #include "mityaeva_radix/tbb/include/sorter_tbb.hpp"
5
6 namespace mityaeva_radix {
7
8
1/2
✓ Branch 1 taken 48 times.
✗ Branch 2 not taken.
48 MityaevaRadixTbb::MityaevaRadixTbb(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 MityaevaRadixTbb::ValidationImpl() {
15 48 return !GetInput().empty();
16 }
17
18 48 bool MityaevaRadixTbb::PreProcessingImpl() {
19 48 return true;
20 }
21
22 48 bool MityaevaRadixTbb::RunImpl() {
23 auto &array = GetInput();
24 48 SorterTbb::Sort(array);
25 48 GetOutput() = array;
26 48 return true;
27 }
28
29 48 bool MityaevaRadixTbb::PostProcessingImpl() {
30 48 return true;
31 }
32
33 } // namespace mityaeva_radix
34