{
    "scan": {
        "analyzer-version-clippy": "1.93.0",
        "analyzer-version-cppcheck": "2.19.1",
        "analyzer-version-gcc": "16.0.1",
        "analyzer-version-gcc-analyzer": "16.0.1",
        "analyzer-version-pylint": "4.0.4",
        "analyzer-version-shellcheck": "0.11.0",
        "analyzer-version-unicontrol": "0.0.2",
        "enabled-plugins": "clippy, cppcheck, gcc, pylint, shellcheck, unicontrol",
        "exit-code": 0,
        "host": "ip-172-16-1-252.us-west-2.compute.internal",
        "known-false-positives": "/usr/share/csmock/known-false-positives.js",
        "known-false-positives-rpm": "known-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch",
        "mock-config": "fedora-rawhide-x86_64",
        "project-name": "python-logdetective-3.2.0-1.20260204100728327983.pr441.5.gb0b3985",
        "store-results-to": "/tmp/tmpd7i7jn5_/python-logdetective-3.2.0-1.20260204100728327983.pr441.5.gb0b3985.tar.xz",
        "time-created": "2026-02-04 10:23:51",
        "time-finished": "2026-02-04 10:25:25",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,shellcheck,gcc,clippy' '-o' '/tmp/tmpd7i7jn5_/python-logdetective-3.2.0-1.20260204100728327983.pr441.5.gb0b3985.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '-t=pylint' '/tmp/tmpd7i7jn5_/python-logdetective-3.2.0-1.20260204100728327983.pr441.5.gb0b3985.src.rpm'",
        "tool-version": "csmock-3.8.3.20260128.181932.g41af877-1.el9"
    },
    "defects": [
        {
            "checker": "PROSPECTOR_WARNING",
            "language": "python",
            "tool": "prospector",
            "hash_v1": "4566a65848e28f83e767e32631ad16c29e49e230",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/python-logdetective-3.2.0-build/BUILDROOT/usr/lib/python3.14/site-packages/logdetective/server/config.py",
                    "line": 17,
                    "column": 17,
                    "event": "W1514[pylint]",
                    "message": "Using open without explicitly specifying an encoding",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   15|       if path is not None:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   16|           try:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   17|->             with open(path, \"r\") as config_file:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   18|                   return Config.model_validate(yaml.safe_load(config_file))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   19|           except FileNotFoundError:",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "PROSPECTOR_WARNING",
            "language": "python",
            "tool": "prospector",
            "hash_v1": "8b06a69706c6c14ba661f4015179824017f909a9",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/python-logdetective-3.2.0-build/BUILDROOT/usr/lib/python3.14/site-packages/logdetective/utils.py",
                    "line": 177,
                    "column": 13,
                    "event": "W1514[pylint]",
                    "message": "Using open without explicitly specifying an encoding",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  175|               raise ValueError(f\"Local log {log_path} doesn't exist!\")",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  176|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  177|->         with open(log_path, \"rt\") as f:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  178|               log = f.read()",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  179|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "PROSPECTOR_WARNING",
            "language": "python",
            "tool": "prospector",
            "hash_v1": "29383e567ff2f590960782b1a468b5dec394a649",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/python-logdetective-3.2.0-build/BUILDROOT/usr/lib/python3.14/site-packages/logdetective/utils.py",
                    "line": 216,
                    "column": 17,
                    "event": "W1514[pylint]",
                    "message": "Using open without explicitly specifying an encoding",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  214|       if config_path:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  215|           try:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  216|->             with open(config_path, \"r\") as file:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  217|                   configuration = PromptConfig(**yaml.safe_load(file))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  218|           except FileNotFoundError:",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "PROSPECTOR_WARNING",
            "language": "python",
            "tool": "prospector",
            "hash_v1": "af4a4fcc8745d85695ed82f8ef9ed4f61b6e05ec",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/python-logdetective-3.2.0-build/BUILDROOT/usr/lib/python3.14/site-packages/logdetective/utils.py",
                    "line": 277,
                    "column": 17,
                    "event": "W1514[pylint]",
                    "message": "Using open without explicitly specifying an encoding",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  275|       if path:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  276|           try:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  277|->             with open(path, \"r\") as file:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  278|                   return SkipSnippets(yaml.safe_load(file))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  279|           except OSError as e:",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
