{"id":15008699,"url":"https://github.com/arturdm/bitbucket_code_coverage","last_synced_at":"2025-06-30T20:06:45.835Z","repository":{"id":56826586,"uuid":"173641780","full_name":"arturdm/bitbucket_code_coverage","owner":"arturdm","description":"Converts coverage data from LCOV and publishes to Bitbucket server","archived":false,"fork":false,"pushed_at":"2020-10-09T07:31:15.000Z","size":39,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T00:39:17.107Z","etag":null,"topics":["bitbucket-server","code-coverage","dartlang","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://bitbucket.org/atlassian/bitbucket-code-coverage","language":"Dart","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/arturdm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-03T23:18:04.000Z","updated_at":"2021-09-30T15:38:24.000Z","dependencies_parsed_at":"2022-09-13T08:00:28.500Z","dependency_job_id":null,"html_url":"https://github.com/arturdm/bitbucket_code_coverage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arturdm/bitbucket_code_coverage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturdm%2Fbitbucket_code_coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturdm%2Fbitbucket_code_coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturdm%2Fbitbucket_code_coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturdm%2Fbitbucket_code_coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arturdm","download_url":"https://codeload.github.com/arturdm/bitbucket_code_coverage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturdm%2Fbitbucket_code_coverage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262842922,"owners_count":23373167,"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":["bitbucket-server","code-coverage","dartlang","hacktoberfest"],"created_at":"2024-09-24T19:20:03.492Z","updated_at":"2025-06-30T20:06:45.783Z","avatar_url":"https://github.com/arturdm.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitbucket_code_coverage\n\n[![Build Status](https://github.com/arturdm/bitbucket_code_coverage/workflows/ci/badge.svg?branch=master)](https://github.com/arturdm/bitbucket_code_coverage/actions)\n[![codecov](https://codecov.io/gh/arturdm/bitbucket_code_coverage/branch/master/graph/badge.svg)](https://codecov.io/gh/arturdm/bitbucket_code_coverage)\n[![Pub](https://img.shields.io/pub/v/bitbucket_code_coverage.svg)](https://pub.dartlang.org/packages/bitbucket_code_coverage)\n\nConverts coverage data from LCOV and publishes to Bitbucket server with\n[Bitbucket Server Code Coverage Plugin] installed.\n\n## Usage\n\nAdd `bitbucket_code_coverage` to `dev_dependencies`.\n\n```yaml\ndev_dependencies:\n  bitbucket_code_coverage: ^0.0.2\n```\n\nRun the executable for a single coverage file.\n\n```bash\npub run bitbucket_code_coverage \\\n  --url http://localhost:7990 \\\n  -u \u003cusername\u003e \\\n  -p \u003cpassword\u003e \\\n  post \\\n  -c \u003ccommit_id\u003e \\\n  -f build/lcov.info\n```\n\nIn order to publish data from multiple coverage files use `--file-pattern` option. If you would \nlike to use [Personal Access Token] you can do so by passing it to `-t` option.\n\n```bash\npub run bitbucket_code_coverage \\\n    --url http://localhost:7990 \\\n    -t \u003cpersonal_access_token\u003e \\\n    post \\\n    -c \u003ccommit_id\u003e \\\n    --file-pattern **/lcov.info\n```\n\n[Bitbucket Server Code Coverage Plugin]: https://bitbucket.org/atlassian/bitbucket-code-coverage\n[Personal Access Token]: https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturdm%2Fbitbucket_code_coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farturdm%2Fbitbucket_code_coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturdm%2Fbitbucket_code_coverage/lists"}