GCC Code Coverage Report


Directory: ./
File: backends/logging.cpp
Date: 2023-04-20 22:59:23
Exec Total Coverage
Lines: 1 1 100.0%
Branches: 3 4 75.0%

Line Branch Exec Source
1 /*************************************************************************
2 Copyright © 2020 Roman Gilg <subdiff@gmail.com>
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, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 **************************************************************************/
18 #include "logging.h"
19
20 #if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
21
3/4
✓ Branch 0 taken 11 times.
✓ Branch 1 taken 883 times.
✓ Branch 3 taken 11 times.
✗ Branch 4 not taken.
894 Q_LOGGING_CATEGORY(DISMAN_BACKEND, "disman.backend", QtInfoMsg)
22 #else
23 Q_LOGGING_CATEGORY(DISMAN_BACKEND, "disman.backend")
24 #endif
25