GCC Code Coverage Report


Directory: ./
File: tasks/lopatin_a_sobel_operator/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 1 2 50.0%

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