GCC Code Coverage Report


Directory: ./
File: tasks/volkov_a_sparse_mat_mul_ccs/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 2 2 100.0%
Branches: 2 4 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 volkov_a_sparse_mat_mul_ccs {
10
11 struct SparseMatCCS {
12 int rows_count = 0;
13 int cols_count = 0;
14 int non_zeros = 0;
15 std::vector<int> col_ptrs;
16 std::vector<int> row_indices;
17 std::vector<double> values;
18
19 SparseMatCCS() = default;
20
2/4
✓ Branch 2 taken 160 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 160 times.
✗ Branch 6 not taken.
160 SparseMatCCS(const SparseMatCCS &) = default;
21 168 SparseMatCCS &operator=(const SparseMatCCS &) = default;
22 };
23
24 using InType = std::tuple<SparseMatCCS, SparseMatCCS>;
25 using OutType = SparseMatCCS;
26 using TestType = std::tuple<std::string, std::string>;
27 using BaseTask = ppc::task::Task<InType, OutType>;
28
29 } // namespace volkov_a_sparse_mat_mul_ccs
30