GCC Code Coverage Report


Directory: ./
File: tasks/kutergin_v_linear_contrast_stretching/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 <string>
4 #include <tuple>
5 #include <vector>
6
7 #include "task/include/task.hpp"
8
9 namespace kutergin_v_linear_contrast_stretching {
10
11
5/10
✓ Branch 1 taken 366 times.
✗ Branch 2 not taken.
✓ Branch 3 taken 30 times.
✗ Branch 4 not taken.
✓ Branch 6 taken 30 times.
✗ Branch 7 not taken.
✓ Branch 9 taken 30 times.
✗ Branch 10 not taken.
✓ Branch 12 taken 1572 times.
✗ Branch 13 not taken.
2058 struct Image {
12 std::vector<unsigned char> data; // вектор значений интенсивностей
13 int width = 0; // ширина изображения
14 int height = 0; // высота изображения
15 };
16
17 using InType = Image;
18 using OutType = std::vector<unsigned char>;
19 using BaseTask = ppc::task::Task<InType, OutType>;
20 using TestType = std::tuple<InType, OutType, std::string>;
21
22 } // namespace kutergin_v_linear_contrast_stretching
23