GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 0 / 1
Functions: 100.0% 1 / 0 / 1
Branches: 70.0% 7 / 0 / 10

shumate/vector/shumate-vector-expression-filter-private.h
Line Branch Exec Source
1 /*
2 * Copyright (C) 2021 James Westman <james@jwestman.net>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <https://www.gnu.org/licenses/>.
16 */
17
18
19 #pragma once
20
21 #include "shumate-vector-expression-private.h"
22
23 G_BEGIN_DECLS
24
25 #define SHUMATE_TYPE_VECTOR_EXPRESSION_FILTER (shumate_vector_expression_filter_get_type())
26
7/10
✓ Branch 3 → 4 taken 570 times.
✗ Branch 3 → 7 not taken.
✓ Branch 4 → 5 taken 570 times.
✗ Branch 4 → 6 not taken.
✓ Branch 5 → 6 taken 8 times.
✓ Branch 5 → 7 taken 562 times.
✗ Branch 44 → 45 not taken.
✓ Branch 44 → 46 taken 20 times.
✓ Branch 256 → 257 taken 16 times.
✓ Branch 256 → 258 taken 2 times.
1432 G_DECLARE_FINAL_TYPE (ShumateVectorExpressionFilter, shumate_vector_expression_filter, SHUMATE, VECTOR_EXPRESSION_FILTER, ShumateVectorExpression)
27
28 ShumateVectorExpression *shumate_vector_expression_filter_from_json_array (JsonArray *array,
29 ShumateVectorExpressionContext *ctx,
30 GError **error);
31 ShumateVectorExpression *shumate_vector_expression_filter_from_array_or_literal (JsonNode *node,
32 ShumateVectorExpressionContext *ctx,
33 GError **error);
34 ShumateVectorExpression *shumate_vector_expression_filter_from_literal (ShumateVectorValue *value);
35
36 G_END_DECLS
37