openscap_report.scap_results_parser.exceptions   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 18
rs 10
c 0
b 0
f 0
ccs 4
cts 4
cp 1
wmc 0
1
# Copyright 2022, Red Hat, Inc.
2
# SPDX-License-Identifier: LGPL-2.1-or-later
3
4 1
class MissingOVALResult(Exception):
5
    """Raised when OVAL results are missing in the report"""
6
7
8 1
class MissingProcessableRules(Exception):
9
    """Raised when processable rules are missing in the report"""
10
11
12 1
class ExceptionNoCPEApplicabilityLanguage(Exception):
13
    """Raise when there is no CPE Applicability Language platform specification"""
14
15
16 1
class NotSupportedReportingFormat(Exception):
17
    """Raise when the given input isn't a valid ARF report or XCCDF report"""
18