{
    "scan": {
        "analyzer-version-clang": "18.1.7",
        "analyzer-version-cppcheck": "2.14.2",
        "analyzer-version-gcc": "14.1.1",
        "analyzer-version-gcc-analyzer": "14.1.1",
        "analyzer-version-shellcheck": "0.10.0",
        "enabled-plugins": "clang, cppcheck, gcc, shellcheck",
        "exit-code": 0,
        "host": "ip-172-16-1-217.us-west-2.compute.internal",
        "mock-config": "fedora-41-x86_64",
        "project-name": "kde-cli-tools-6.0.3-1.fc40",
        "store-results-to": "/tmp/tmpoe18rl1e/kde-cli-tools-6.0.3-1.fc40.tar.xz",
        "time-created": "2024-07-03 13:40:12",
        "time-finished": "2024-07-03 13:43:03",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpoe18rl1e/kde-cli-tools-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpoe18rl1e/kde-cli-tools-6.0.3-1.fc40.src.rpm'",
        "tool-version": "csmock-3.5.3-1.el9"
    },
    "defects": [
        {
            "checker": "CLANG_WARNING",
            "language": "c/c++",
            "tool": "clang",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-ty6RkS/CheckIncludeFile.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 747 terminated by signal 15",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "language": "c/c++",
            "tool": "cppcheck",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-ty6RkS/CheckIncludeFile.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 744 terminated by signal 15",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "CLANG_WARNING",
            "language": "c/c++",
            "tool": "clang",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-dOYjZd/CheckSymbolExists.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 765 terminated by signal 15",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "language": "c/c++",
            "tool": "cppcheck",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-dOYjZd/CheckSymbolExists.c",
                    "line": 0,
                    "event": "internal warning",
                    "message": "child 762 terminated by signal 15",
                    "verbosity_level": 0
                }
            ]
        },
        {
            "checker": "CLANG_WARNING",
            "language": "c/c++",
            "tool": "clang",
            "hash_v1": "86b032dff73f55e88d5191591689ebeecd716e68",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/keditfiletype/kservicelistwidget.cpp",
                    "line": 270,
                    "column": 20,
                    "event": "warning[deadcode.DeadStores]",
                    "message": "Value stored to 'valid' during its initialization is never read",
                    "verbosity_level": 0
                },
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/keditfiletype/kservicelistwidget.cpp",
                    "line": 270,
                    "column": 20,
                    "event": "note",
                    "message": "Value stored to 'valid' during its initialization is never read",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  268|               return;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  269|           }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  270|->         const bool valid = dlg.chosenPart().isValid();",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  271|           Q_ASSERT(valid);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  272|           if (m_mimeTypeData->embedParts().contains(dlg.chosenPart().pluginId())) {",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CLANG_WARNING",
            "language": "c/c++",
            "tool": "clang",
            "hash_v1": "fdbbaa7e28af3dad410caea2df810c8c6499be8c",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/keditfiletype/typeslisttreewidget.cpp",
                    "line": 42,
                    "column": 21,
                    "event": "warning[deadcode.DeadStores]",
                    "message": "Value stored to 'state' is never read",
                    "verbosity_level": 0
                },
                {
                    "file_name": "/builddir/build/BUILD/kde-cli-tools-6.0.3-build/kde-cli-tools-6.0.3/keditfiletype/typeslisttreewidget.cpp",
                    "line": 42,
                    "column": 21,
                    "event": "note",
                    "message": "Value stored to 'state' is never read",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   40|               if (item->isSelected() && item->data(0, Qt::CheckStateRole).isValid()) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   41|                   if (first) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   42|->                     state = item->checkState(0);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   43|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   44|                       if (item->checkState(0) != Qt::Checked) {",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
