{"id":13506735,"url":"https://github.com/johnthagen/cppcheck-junit","last_synced_at":"2025-05-07T14:47:14.505Z","repository":{"id":2324563,"uuid":"46243261","full_name":"johnthagen/cppcheck-junit","owner":"johnthagen","description":"Converts Cppcheck XML output to JUnit XML.","archived":false,"fork":false,"pushed_at":"2024-03-20T17:31:17.000Z","size":87,"stargazers_count":10,"open_issues_count":1,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-27T06:50:31.527Z","etag":null,"topics":["cppcheck","junit","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/johnthagen.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-11-16T00:50:03.000Z","updated_at":"2024-01-13T19:38:01.000Z","dependencies_parsed_at":"2024-01-10T22:32:11.506Z","dependency_job_id":null,"html_url":"https://github.com/johnthagen/cppcheck-junit","commit_stats":{"total_commits":90,"total_committers":5,"mean_commits":18.0,"dds":"0.16666666666666663","last_synced_commit":"2832f24337b1a093c25e1ed58564f054581d35dc"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthagen%2Fcppcheck-junit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthagen%2Fcppcheck-junit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthagen%2Fcppcheck-junit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthagen%2Fcppcheck-junit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnthagen","download_url":"https://codeload.github.com/johnthagen/cppcheck-junit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233124232,"owners_count":18628672,"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":["cppcheck","junit","python","python3"],"created_at":"2024-08-01T01:00:56.464Z","updated_at":"2025-01-09T02:03:23.646Z","avatar_url":"https://github.com/johnthagen.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"cppcheck JUnit Converter\n========================\n\n.. image:: https://github.com/johnthagen/cppcheck-junit/workflows/python/badge.svg\n    :target: https://github.com/johnthagen/cppcheck-junit/actions\n\n.. image:: https://codeclimate.com/github/johnthagen/cppcheck-junit/badges/gpa.svg\n   :target: https://codeclimate.com/github/johnthagen/cppcheck-junit\n\n.. image:: https://codeclimate.com/github/johnthagen/cppcheck-junit/badges/issue_count.svg\n   :target: https://codeclimate.com/github/johnthagen/cppcheck-junit\n\n.. image:: https://img.shields.io/pypi/v/cppcheck-junit.svg\n    :target: https://pypi.python.org/pypi/cppcheck-junit\n\n.. image:: https://img.shields.io/pypi/status/cppcheck-junit.svg\n    :target: https://pypi.python.org/pypi/cppcheck-junit\n\n.. image:: https://img.shields.io/pypi/pyversions/cppcheck-junit.svg\n    :target: https://pypi.python.org/pypi/cppcheck-junit/\n\nTool that converts `cppcheck \u003chttp://cppcheck.sourceforge.net/\u003e`_ XML output to JUnit XML format.\nUse on your CI servers to get more helpful feedback.\n\nInstallation\n------------\n\nYou can install, upgrade, and uninstall ``cppcheck-junit`` with these commands:\n\n.. code:: shell-session\n\n    $ pip install cppcheck-junit\n    $ pip install --upgrade cppcheck-junit\n    $ pip uninstall cppcheck-junit\n\nUsage\n-----\nEnable XML version 2 output, enable additional rules (for example ``all``), and redirect\n``cppcheck`` ``stderr`` to a file:\n\n.. code:: shell-session\n\n    $ cppcheck --xml-version=2 --enable=all . 2\u003e cppcheck-result.xml\n\nConvert it to JUnit XML format:\n\n.. code:: shell-session\n\n    $ cppcheck_junit cppcheck-result.xml cppcheck-junit.xml\n\nIf no ``cppcheck`` errors are generated, a single ``\"Cppcheck success\"`` test case is\noutput so that CI tools like Bamboo will not fail on the JUnit task.\n\nReleases\n--------\n\n2.4.0 - 2024-01-13\n^^^^^^^^^^^^^^^^^^\n\n- Support Python 3.12\n- Include error info from multiple locations\n- Added ``junitparser`` as a dependency to write junit output\n- Update unitests for argument parser\n- Enable mypy for type checking\n\n2.3.0 - 2023-04-30\n^^^^^^^^^^^^^^^^^^\n\n- Drop Python 3.7 support and support Python 3.11\n\n2.2.0 - 2022-03-29\n^^^^^^^^^^^^^^^^^^\n\n- Add optional argument for setting return code when cppcheck found errors.\n- Drop Python 3.6 and support Python 3.10.\n\n2.1.0 - 2020-12-30\n^^^^^^^^^^^^^^^^^^\n\n- Drop Python 3.5 and support Python 3.9.\n\n2.0.0 - 2020-03-29\n^^^^^^^^^^^^^^^^^^\n\n- Drop Python 2.7\n\n1.7.0 - 2019-12-14\n^^^^^^^^^^^^^^^^^^\n\n- Drop Python 3.4 and support Python 3.8.\n- Include license file.\n\n1.6.0 - 2018-07-09\n^^^^^^^^^^^^^^^^^^\n\nDrop Python 3.3 and support Python 3.7.\n\n1.5.0 - 2017-10-18\n^^^^^^^^^^^^^^^^^^\n\nFix Bamboo support by always filling in ``name`` and ``classname`` attributes on JUnit error\ntest cases.\n\n1.4.0 - 2017-06-14\n^^^^^^^^^^^^^^^^^^\n\nExpand JUnit schema support by adding in some missing fields.\n\n1.3.0 - 2016-12-31\n^^^^^^^^^^^^^^^^^^\n\nSupport Python 3.6.\n\n1.2.0 - 2016-07-27\n^^^^^^^^^^^^^^^^^^\n\nActually handle ``cppcheck`` errors that don't have a ``\u003clocation\u003e`` tag.\nUpdate test suite to use ``tox``.\n\n1.1.2 - 2016-04-13\n^^^^^^^^^^^^^^^^^^\n\nHandle ``cppcheck`` errors that don't have a ``\u003clocation\u003e`` tag.\n\n1.1.1 - 2016-04-11\n^^^^^^^^^^^^^^^^^^\n\nFix ``requirements.txt`` include for ``setup.py``.\n\n1.1.0 - 2016-04-11\n^^^^^^^^^^^^^^^^^^\n\nIf no ``cppcheck`` errors are parsed, output a single success test case to satisfy Bamboo.\n\n1.0.0 - 2016-02-15\n^^^^^^^^^^^^^^^^^^\n\nRelease 1.0.0.  Increase test coverage.\n\n0.2.0 - 2016-01-28\n^^^^^^^^^^^^^^^^^^\n\nAdded severity to JUnit message, improved help description, handle XML parsing errors.\n\n0.1.0 - 2015-11-15\n^^^^^^^^^^^^^^^^^^\n\nFirst release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnthagen%2Fcppcheck-junit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnthagen%2Fcppcheck-junit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnthagen%2Fcppcheck-junit/lists"}