GCC Code Coverage Report


Directory: ./
File: tasks/kiselev_i_linear_histogram_stretch/common/include/common.hpp
Date: 2026-01-10 02:40:41
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 5 10 50.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <cstddef>
4 #include <cstdint>
5 #include <string>
6 #include <tuple>
7 #include <vector>
8
9 #include "task/include/task.hpp"
10
11 namespace kiselev_i_linear_histogram_stretch {
12
13
5/10
✓ Branch 1 taken 1586 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 130 times.
✗ Branch 4 not taken.
✓ Branch 6 taken 130 times.
✗ Branch 7 not taken.
✓ Branch 9 taken 130 times.
✗ Branch 10 not taken.
✓ Branch 12 taken 6812 times.
✗ Branch 13 not taken.
8918 struct GrayImage {
14 std::vector<uint8_t> pixels;
15 std::size_t width = 0;
16 std::size_t height = 0;
17 };
18
19 using InType = GrayImage;
20 using OutType = std::vector<uint8_t>;
21 using TestType = std::tuple<InType, OutType, std::string>;
22 using BaseTask = ppc::task::Task<InType, OutType>;
23
24 } // namespace kiselev_i_linear_histogram_stretch
25