GCC Code Coverage Report


Directory: ./
File: tasks/dorogin_v_bin_img_conv_hull_stl/common/include/common.hpp
Date: 2026-05-11 08:26:31
Exec Total Coverage
Lines: 4 4 100.0%
Functions: 0 0 -%
Branches: 5 10 50.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <cstdint>
4 #include <string>
5 #include <tuple>
6 #include <vector>
7
8 #include "task/include/task.hpp"
9
10 namespace nesterov_a_test_task_threads {
11
12 struct Point {
13 104 int x{};
14 104 int y{};
15
2/4
✓ Branch 0 taken 104 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 104 times.
✗ Branch 3 not taken.
104 bool operator==(const Point &other) const = default;
16 };
17
18
3/6
✓ Branch 1 taken 192 times.
✗ Branch 2 not taken.
✓ Branch 7 taken 24 times.
✗ Branch 8 not taken.
✓ Branch 10 taken 804 times.
✗ Branch 11 not taken.
1404 struct BinaryImage {
19 int width{};
20 int height{};
21 std::vector<std::uint8_t> data;
22 };
23
24 using InType = BinaryImage;
25 using OutType = std::vector<std::vector<Point>>;
26 using TestType = std::tuple<BinaryImage, std::string>;
27 using BaseTask = ppc::task::Task<InType, OutType>;
28
29 } // namespace nesterov_a_test_task_threads
30