ComplianceAsCode/content

View on GitHub
build-scripts/profile_tool.py

Summary

Maintainability
A
1 hr
Test Coverage

Function parse_stats_subcommand has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def parse_stats_subcommand(subparsers):
    parser_stats = subparsers.add_parser(
        "stats",
        description=(
            "Obtains and displays XCCDF profile statistics. Namely number of rules in the profile,"
Severity: Minor
Found in build-scripts/profile_tool.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status