GCC Code Coverage Report


Directory: ./
File: tasks/fedoseev_linear_image_filtering_vertical/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 3 3 100.0%
Functions: 0 0 -%
Branches: 4 11 36.4%

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 fedoseev_linear_image_filtering_vertical {
10
11
3/9
✓ Branch 0 taken 240 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 240 times.
✗ Branch 4 not taken.
✗ Branch 5 not taken.
✓ Branch 6 taken 480 times.
✗ Branch 7 not taken.
✗ Branch 8 not taken.
✗ Branch 9 not taken.
2400 struct Image {
12 int width = 0;
13 int height = 0;
14 std::vector<int> data;
15
16 240 Image() = default;
17
1/2
✓ Branch 1 taken 240 times.
✗ Branch 2 not taken.
240 Image(int w, int h, const std::vector<int> &d) : width(w), height(h), data(d) {}
18 };
19
20 using InType = Image;
21 using OutType = Image;
22 using TestType = std::tuple<int, std::string>;
23 using BaseTask = ppc::task::Task<InType, OutType>;
24
25 } // namespace fedoseev_linear_image_filtering_vertical
26