{"id":25334102,"url":"https://github.com/constup/jacoco-xml-to-html-powershell","last_synced_at":"2026-02-11T07:02:06.693Z","repository":{"id":275903157,"uuid":"927304861","full_name":"constup/JaCoCo-XML-to-HTML-PowerShell","owner":"constup","description":"Generate full HTML report from Java Code Coverage (JaCoCo) XML in PowerShell ","archived":false,"fork":false,"pushed_at":"2025-08-30T09:04:23.000Z","size":1718,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T08:40:52.234Z","etag":null,"topics":["html-generator","jacoco","jacoco-coverage","jacoco-report","java-code-coverage","pester","powershell"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/constup.png","metadata":{"files":{"readme":"README.adoc","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-04T18:33:06.000Z","updated_at":"2025-08-30T09:04:26.000Z","dependencies_parsed_at":"2025-02-05T07:31:40.121Z","dependency_job_id":"6dbe5a4e-95a8-4e3d-b4ae-49d077b724b7","html_url":"https://github.com/constup/JaCoCo-XML-to-HTML-PowerShell","commit_stats":null,"previous_names":["constup/jacoco-xml-to-html-powershell"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/constup/JaCoCo-XML-to-HTML-PowerShell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constup%2FJaCoCo-XML-to-HTML-PowerShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constup%2FJaCoCo-XML-to-HTML-PowerShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constup%2FJaCoCo-XML-to-HTML-PowerShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constup%2FJaCoCo-XML-to-HTML-PowerShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/constup","download_url":"https://codeload.github.com/constup/JaCoCo-XML-to-HTML-PowerShell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constup%2FJaCoCo-XML-to-HTML-PowerShell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["html-generator","jacoco","jacoco-coverage","jacoco-report","java-code-coverage","pester","powershell"],"created_at":"2025-02-14T05:34:54.242Z","updated_at":"2026-02-11T07:02:06.665Z","avatar_url":"https://github.com/constup.png","language":"JavaScript","funding_links":["https://ko-fi.com/E1E3VQUK2"],"categories":[],"sub_categories":[],"readme":"= JaCoCo XML to HTML in PowerShell\n:toc:\n:toclevels:\n\n== Support this tool\n\nlink:https://ko-fi.com/E1E3VQUK2[image:https://ko-fi.com/img/githubbutton_sm.svg[Ko-fi]]\n\n== Description\n\nJaCoCo (Java Code Coverage) XML to HTML converter written in PowerShell.\n\nJaCoCo is a popular code coverage format used by several languages and tools, including PowerShell's Pester testing\nframework.\n\nThe best thing about this tool is - it's all PowerShell. You don't need to have Java or any other tool installed in\norder to generate an HTML report.\n\n== Showcase\n\nimage::doc/statistics.png[alt=\"statistics preview\"]\nimage::doc/code.png[alt=\"code coverage preview\"]\n\n=== Key features\n\n* Pure PowerShell without dependencies\n* Code coverage statistics per group, package and source file\n* Source code coverage with colored lines, automatic source code language detection and syntax highlighting\n* All supported statistics are covered: instructions, branches, lines, complexity, methods and classes\n* Dark and light themes\n* Support for custom themes (Bootstrap or your own custom CSS)\n* Simple, but rich, well documented configuration (config file) with minimum mandatory fields - exactly 3: XML file,\nsource code directory and HTML destination directory. The rest are pure customization options.\n* Easy integration with Pester\n* Mozilla Public License 2.0 (free and open source)\n\n== Installation\n\n=== Prerequisites\n\n* Microsoft PowerShell 7 (link:https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows[Installation instructions])\n* For running Pester tests see the link:doc/testing.adoc[Testing guide]\n\n=== Installation\n\nClone the repository:\n\n[source,shell]\n----\ngit clone https://github.com/constup/JaCoCo-XML-to-HTML-PowerShell .\n----\n\nor download and unpack a release from link:https://github.com/constup/JaCoCo-XML-to-HTML-PowerShell/releases[Releases page]\n\n== How to use\n\n=== Configuration\n\nIn order to use this tool, you will need a configuration file. A commented-out configuration file\n(link:config.ps1.dist[config.ps1.dist]) is provided, so you can just copy it to your project and run JaCoCo-XML-To-HTML.\nJust remember to remove the `.dist` extension.\n\nMandatory configuration options are:\n\n* `xml_file`: the coverage report XML file;\n* `destination_directory`: where you want to save the HTML report. This directory must be empty. The directory will be\ncreated if it does not exist;\n* `sources_directory`: root directory where your project's source code is (usually `src/` directory in your project)\n\nThe rest of the configuration options are optional. Their description and documentation is available on the\nlink:doc/configuration.adoc[Configuration] page.\n\n=== Running\n\nOnce you have a configuration file with mandatory properties filled, everything is done by calling one command:\n\n[source,shell]\n----\npwsh .\\constup-jacoco-xml-to-html.ps1 --config /path/to/your/configuration/file\n----\n\n=== Themes and customization\n\nBy default, JaCoCo XML to HTML will create an HTML with a light theme. To generate a report with a dark theme, set the\ntheme in your configuration file:\n\n[source,powershell]\n----\n'theme' = 'dark';\n----\n\nMore theme and customization options are available on the link:doc/configuration.adoc[Configuration] page.\n\n== More documentation\n\nThe following documentation is also available:\n\n* link:doc/configuration.adoc[Configuration] - Additional configuration, themes and customization options\n* link:doc/test-tools-integration.adoc[Test Tools Integration] - How to integrate this tool with testing tools\n* link:doc/testing.adoc[Testing] - Unit testing with Pester\n\n== 3rd party software licenses\n\nThis project uses and is bundled with the following 3rd party software:\n\n* link:https://getbootstrap.com[Bootstrap v5.3] - Copyright (c) 2011-2025 The Bootstrap Authors\n** link:https://github.com/twbs/bootstrap/blob/main/LICENSE[MIT License] (official repository)\n** link:assets/bootstrap/LICENSE[MIT License] (bundled with this project)\n* link:https://highlightjs.org[HighlightJS v11.11] - Copyright (c) 2006, Ivan Sagalaev\n** link:https://github.com/highlightjs/highlight.js/blob/main/LICENSE[BSD 3-Clause License] (official repository)\n** link:assets/highlightjs/LICENSE[BSD 3-Clause License] (bundled with this project)\n* link:https://github.com/wcoder/highlightjs-line-numbers.js[HighlightJS Line Numbers plugin v2.9] - Copyright (c) 2017 Yauheni Pakala\n** link:https://github.com/wcoder/highlightjs-line-numbers.js/blob/master/LICENSE[MIT License] (official repository)\n** link:assets/highlightjs/LICENSE[MIT License] (bundled with this project)\n\n== Support\n\nIf you like this tool or find it useful, consider buying me a nice cup of coffee. Coffee fuels open source.\n\nlink:https://ko-fi.com/E1E3VQUK2[image:https://ko-fi.com/img/githubbutton_sm.svg[Ko-fi]]\n\n== License\n\nlink:LICENSE[Mozilla Public License 2.0] (also available on Mozilla's website at:\nhttps://www.mozilla.org/en-US/MPL/2.0/[MPL 2.0])\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstup%2Fjacoco-xml-to-html-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconstup%2Fjacoco-xml-to-html-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstup%2Fjacoco-xml-to-html-powershell/lists"}