{"id":16880540,"url":"https://github.com/chennes/cleansarif","last_synced_at":"2026-04-11T22:04:30.857Z","repository":{"id":87232570,"uuid":"338202658","full_name":"chennes/CleanSARIF","owner":"chennes","description":"A small GUI-based SARIF file cleaner/reducer","archived":false,"fork":false,"pushed_at":"2021-02-16T18:11:36.000Z","size":403,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-25T05:25:02.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chennes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-12T02:01:33.000Z","updated_at":"2021-02-16T17:56:50.000Z","dependencies_parsed_at":"2023-03-13T19:38:45.790Z","dependency_job_id":null,"html_url":"https://github.com/chennes/CleanSARIF","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chennes%2FCleanSARIF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chennes%2FCleanSARIF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chennes%2FCleanSARIF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chennes%2FCleanSARIF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chennes","download_url":"https://codeload.github.com/chennes/CleanSARIF/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244541980,"owners_count":20469246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T15:59:08.336Z","updated_at":"2026-04-11T22:04:30.819Z","avatar_url":"https://github.com/chennes.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CleanSARIF\nA small GUI app to clean a SARIF (Static Analysis Results Interchange Format) file. It allows you to bulk change the location of the files that were analyzed, to exclude files or directories based on arbitary regular expressions, and to remove analysis results by tag.\n\n![Screenshot of CleanSARIF](Screenshot.png)\n\n# Features (and \"Features\")\n* Removes the entire \"artifacts\" section, greatly reducing filesize and enabling Visual Studio to read even large results sets (the current VS size limit is 5Mb).\n* Bulk-renaming the location URI prior to loading in a reader can bypass the need to locate the first file, and in some cases fixes problems when the URI includes path components not present on the computer reading the analysis results.\n* By allowing data-reduction as a post-processing step, individual developers can focus on their own sections of the code without needing separate analyzer runs.\n* Makes progress towards world peace by making developers using static analysis results less cranky.\n\n## Installing on Windows\nDownload either the standalone 7-zip file or the installer executable file from the [releases page](https://github.com/chennes/CleanSARIF/releases).\n\n## Building from source\n\n### Important CMake options\nThis software uses the CMake cross-platform build system. Some CMake variables that control the compilation of various features are:\n* `Qt5_DIR` - The location of the cmake folder in your Qt5 installation.\n* `BUILD_TESTING` - Defaults to true, downloads Catch2 and builds the unit testing framework.\n* `BUILD_DOCUMENTATION` - Defaults to false. if true, and you have Doxygen installed, build the developer documentation.\n* `CMAKE_INSTALL_PREFIX` - If you build the install target, this is the location of the compiled binaries.\n* `WINDEPLOYQT_EXECUTABLE` - Windows only. Sets the location of windeployqt.exe, which you should find in your Qt binaries directory.\n\n### Windows\nVersion 1.0 of the software was developed on Windows 10 using Visual Studio 2019, CMake \u003e=3.14, and Qt5. To build the distributable package you will also need NSIS. To build the source:\n1. Clone this repository\n1. Run CMake on the resulting directory\n    * Set Qt5_DIR to the location of your Qt5Config.cmake file (if using the FreeCAD LibPack, that will be $LIBPACKDIR/lib/cmake/Qt5/)\n    * Set WINDEPLOYQT_EXECUTABLE to the location of windeployqt.exe (if using the FreeCAD LibPack, that will be $LIBPACKDIR/bin/windeployqt.exe)\n    * Optionally, set CMAKE_INSTALL_PREFIX to an installation directory\n1. Open the generated project file in Visual Studio\n1. Build the ALL_BUILD target and note the final location of the .exe\n1. Right click on the ALL_BUILD target, choose \"Properties\", navigate to \"Debugging\", and set Command to the built executable.\n1. You can now run from the debugger, e.g. by pressing F5, etc.\n1. (Optional) build the INSTALL target. The executable and all necessary auxilliary files will be copied to CMAKE_INSTALL_PREFIX.\n1. (Optional) build the PACKAGE target. A distributable installer executable will be created in your build folder.\n\n### Linux\nYou will need a recent C++17 compiler, CMake \u003e= 3.11, and Qt5. \n1. Clone this repository\n1. Create an empty build directory on your system in a convenient location\n1. In a terminal, change to the build directory\n1. Run `cmake /path/to/clone`\n1. Run `make`\n1. (Optional) Run `make test` to verify that everything is working as expected\n1. (Optional) Run `make install`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchennes%2Fcleansarif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchennes%2Fcleansarif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchennes%2Fcleansarif/lists"}