{"id":36602728,"url":"https://github.com/rife2/bld-jacoco-report","last_synced_at":"2026-01-12T08:40:21.339Z","repository":{"id":160115496,"uuid":"634666875","full_name":"rife2/bld-jacoco-report","owner":"rife2","description":"bld Extension to Generate Code Coverage Reports with JaCoCo","archived":false,"fork":false,"pushed_at":"2025-08-16T01:29:28.000Z","size":736,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T03:43:02.682Z","etag":null,"topics":["bld","build-system","build-tool","build-tool-plugin","code-coverage","coverage","jacoco","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rife2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-30T21:20:50.000Z","updated_at":"2025-08-16T01:29:31.000Z","dependencies_parsed_at":"2024-02-26T22:31:57.713Z","dependency_job_id":"29cdf426-7aec-4054-a714-beeeb8205ddb","html_url":"https://github.com/rife2/bld-jacoco-report","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/rife2/bld-jacoco-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-jacoco-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-jacoco-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-jacoco-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-jacoco-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rife2","download_url":"https://codeload.github.com/rife2/bld-jacoco-report/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-jacoco-report/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bld","build-system","build-tool","build-tool-plugin","code-coverage","coverage","jacoco","java"],"created_at":"2026-01-12T08:40:21.284Z","updated_at":"2026-01-12T08:40:21.329Z","avatar_url":"https://github.com/rife2.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [bld](https://rife2.com/bld) Extension to Generate Code Coverage Reports with [JaCoCo](https://www.eclemma.org/jacoco/)\n\n\n[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)\n[![bld](https://img.shields.io/badge/2.3.0-FA9052?label=bld\u0026labelColor=2392FF)](https://rife2.com/bld)\n[![Release](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.rife2.com%2Freleases%2Fcom%2Fuwyn%2Frife2%2Fbld-jacoco-report%2Fmaven-metadata.xml\u0026color=blue)](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-jacoco-report)\n[![Snapshot](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.rife2.com%2Fsnapshots%2Fcom%2Fuwyn%2Frife2%2Fbld-jacoco-report%2Fmaven-metadata.xml\u0026label=snapshot)](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-jacoco-report)\n[![GitHub CI](https://github.com/rife2/bld-jacoco-report/actions/workflows/bld.yml/badge.svg)](https://github.com/rife2/bld-jacoco-report/actions/workflows/bld.yml)\n\nTo install the latest version, add the following to the `lib/bld/bld-wrapper.properties` file:\n\n```properties\nbld.extension-jacoco=com.uwyn.rife2:bld-jacoco-report\n```\n\nFor more information, please refer to the [extensions](https://github.com/rife2/bld/wiki/Extensions) documentation.\n\n## Generate Code Coverage Reports\n\nTo run the tests and generate the code coverage reports, add the floowing to your build file:\n\n```java\n@BuildCommand(summary = \"Generates Jacoco Reports\")\npublic void jacoco() throws Exception {\n    new JacocoReportOperation()\n            .fromProject(this)\n            .execute();\n}\n```\n\n```console\n./bld compile jacoco\n```\n\n- [View Examples](https://github.com/rife2/bld-jacoco-report/tree/master/examples)\n\n- The HTML, CSV and XML reports will be automatically created in the `build/reports/jacoco/test` directory.\n- The execution coverage data will be automatically recorded in the `build/jacoco/jacoco.exec` file.\n\nPlease check the [JacocoReportOperation documentation](https://rife2.github.io/bld-jacoco-report/rife/bld/extension/JacocoReportOperation.html#method-summary) for all available configuration options.\n\n### SonarQube/SonarCloud\n\nTo use a JaCoCo report with [sonar](https://www.sonarsource.com/), add something like the following to your `sonar-project.properties`:\n\n```properties\nsonar.organization=YOUR_ORGANIZATION\nsonar.projectKey=YOUR_PROJECT_KEY\nsonar.coverage.jacoco.xmlReportPaths=build/reports/jacoco/test/jacocoTestReport.xml\nsonar.sources=src/main/java/\nsonar.tests=src/test/java/\nsonar.java.binaries=build/main,build/test\nsonar.java.libraries=lib/compile/*.jar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frife2%2Fbld-jacoco-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frife2%2Fbld-jacoco-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frife2%2Fbld-jacoco-report/lists"}