GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 2 / 0 / 2
Functions: 0.0% 0 / 0 / 1
Branches: 43.8% 7 / 0 / 16

libfprint/fp-image-device.h
Line Branch Exec Source
1 /*
2 * FpImageDevice - An image based fingerprint reader device
3 * Copyright (C) 2019 Benjamin Berg <bberg@redhat.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 #pragma once
21
22 #include "fp-device.h"
23
24 G_BEGIN_DECLS
25
26 #define FP_TYPE_IMAGE_DEVICE (fp_image_device_get_type ())
27
7/16
None:
✓ Branch 2 → 3 taken 12 times.
✓ Branch 2 → 4 taken 73 times.
✓ Branch 2 → 6 taken 118 times.
✓ Branch 7 → 8 taken 1 time.
✗ Branch 7 → 14 not taken.
✗ Branch 7 → 20 not taken.
✓ Branch 7 → 26 taken 1 time.
✗ Branch 7 → 32 not taken.
✗ Branch 7 → 38 not taken.
FP_IS_IMAGE_DEVICE:
✓ Branch 3 → 4 taken 34 times.
✓ Branch 3 → 5 taken 34 times.
✗ Branch 3 → 7 not taken.
✗ Branch 4 → 5 not taken.
✗ Branch 4 → 6 not taken.
✗ Branch 5 → 6 not taken.
✗ Branch 5 → 7 not taken.
314 G_DECLARE_DERIVABLE_TYPE (FpImageDevice, fp_image_device, FP, IMAGE_DEVICE, FpDevice)
28
29 G_END_DECLS
30