{"id":15512940,"url":"https://github.com/infertux/bashcov","last_synced_at":"2026-02-18T04:03:16.479Z","repository":{"id":5855007,"uuid":"7071777","full_name":"infertux/bashcov","owner":"infertux","description":"Code coverage tool for Bash","archived":false,"fork":false,"pushed_at":"2026-02-17T02:13:13.000Z","size":863,"stargazers_count":166,"open_issues_count":15,"forks_count":23,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-02-17T05:27:05.035Z","etag":null,"topics":["bash","code-coverage","coverage","coverage-report","ruby","rubygems","shell","simplecov","tdd","testing"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/infertux.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"infertux","liberapay":"infertux","patreon":"infertux"}},"created_at":"2012-12-08T20:31:11.000Z","updated_at":"2026-02-17T02:13:17.000Z","dependencies_parsed_at":"2024-04-22T02:53:47.653Z","dependency_job_id":"bab1ad8c-db65-4249-9c3c-3dba7bc0bed0","html_url":"https://github.com/infertux/bashcov","commit_stats":{"total_commits":307,"total_committers":11,"mean_commits":27.90909090909091,"dds":"0.21498371335504884","last_synced_commit":"31af3cbab66b8d8876b91b88af6816ad71c2e3fc"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/infertux/bashcov","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fbashcov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fbashcov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fbashcov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fbashcov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infertux","download_url":"https://codeload.github.com/infertux/bashcov/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fbashcov/sbom","scorecard":{"id":487886,"data":{"date":"2025-08-11","repo":{"name":"github.com/infertux/bashcov","commit":"89626534bb53a4e1da81ce4ef761b1195cc02d07"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 3/17 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/deps.yml:15","Info: topLevel permissions set to 'read-all': .github/workflows/ci.yml:7","Warn: no topLevel permission defined: .github/workflows/deps.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: \"if \u003ccond\u003e\" must be followed by \"then\": spec/test_app/scripts/bad_syntax.sh:0","Info: Possibly incomplete results: error parsing shell code: invalid UTF-8 encoding: spec/test_app/scripts/unicode.sh:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deps.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/deps.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deps.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/deps.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deps.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/infertux/bashcov/deps.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T18:16:07.608Z","repository_id":5855007,"created_at":"2025-08-19T18:16:07.608Z","updated_at":"2025-08-19T18:16:07.608Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29567616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bash","code-coverage","coverage","coverage-report","ruby","rubygems","shell","simplecov","tdd","testing"],"created_at":"2024-10-02T09:53:56.629Z","updated_at":"2026-02-18T04:03:16.462Z","avatar_url":"https://github.com/infertux.png","language":"Ruby","readme":"# Bashcov\n\n[![Funding](https://img.shields.io/liberapay/patrons/infertux.svg?logo=liberapay)](https://liberapay.com/infertux/donate)\n[![Gem Version](https://img.shields.io/gem/v/bashcov.svg)](https://rubygems.org/gems/bashcov)\n[![Build Status](https://gitlab.com/infertux/bashcov/badges/master/pipeline.svg)](https://gitlab.com/infertux/bashcov/-/pipelines)\n[![Maintainability](https://api.codeclimate.com/v1/badges/083fdbba795049cd5f06/maintainability)](https://codeclimate.com/github/infertux/bashcov/maintainability)\n[![Inline docs](http://inch-ci.org/github/infertux/bashcov.svg)](http://inch-ci.org/github/infertux/bashcov)\n\nBashcov is a **code coverage analysis tool for Bash**.\n\nIn most cases, you'll want overall coverage results for your project from\n[shUnit2](https://github.com/kward/shunit2),\n[Bats](https://github.com/bats-core/bats-core),\n[bash_unit](https://github.com/pgrange/bash_unit),\n[assert.sh](https://github.com/lehmannro/assert.sh),\n[bashaspec](https://github.com/d10n/bashaspec),\netc.\nBashcov automatically takes care of this by caching and merging results when generating reports,\nso your report includes coverage across your test suites and thereby gives you a better picture of blank spots.\n\nIt uses the [SimpleCov](https://github.com/colszowka/simplecov) coverage library to generate HTML reports.\nSimpleCov gets installed automatically when you install Bashcov.\n\nHere are example coverages generated by Bashcov:\n[test app demo](https://infertux.github.io/bashcov/test_app/ \"Coverage for the bundled test application\") \u0026\n[RVM demo](https://infertux.github.io/bashcov/rvm/ \"Coverage for RVM\").\n\n## Installation\n\n`gem install bashcov`\n\nIf the `gem` command is unavailable, you need to [install Ruby](https://www.ruby-lang.org/en/documentation/installation/) first.\n\nFor more information, including other installation methods, see [`INSTALL.md`](./INSTALL.md).\n\n## Usage\n\n`bashcov --help` prints all available options. Here are some examples:\n\n    bashcov ./script.sh\n    bashcov --skip-uncovered ./script.sh\n    bashcov -- ./script.sh --some --flags\n    bashcov --skip-uncovered -- ./script.sh --some --flags\n\n`./script.sh` can be a mere Bash script or typically your CI script. Bashcov will keep track of all executed scripts.\n\nIt will create a directory named `./coverage/`, you may open `./coverage/index.html` to browse the coverage report.\n\n### SimpleCov integration\n\nYou can leverage the underlying library [SimpleCov](https://github.com/colszowka/simplecov)\nby adding a `.simplecov` file in your project's root, like [this](https://github.com/infertux/bashcov/blob/master/spec/test_app/.simplecov).\nSee [advanced usage](./USAGE.md) for more information.\n\n## Contributing\n\nBug reports and patches are most welcome.\nSee the [contribution guidelines](https://github.com/infertux/bashcov/blob/master/CONTRIBUTING.md).\n\nFor development tips, see [the hacking guide](./HACKING.md).\n\n## Sponsorship\n\nBashcov was [created in 2012](https://github.com/infertux/bashcov/commit/f65e65e5aa3377beb334beee9924136a34a913e8) and it needs your help. I have been maintaining the project for over a decade and keeping it working with new releases of Bash and Ruby takes time. If you use Bashcov professionally, please considerer supporting it on [Liberapay](https://liberapay.com/infertux) through your employer or directly. Thank you for supporting *Free and Open-Source Software*.\n\n## License\n\nMIT\n","funding_links":["https://github.com/sponsors/infertux","https://liberapay.com/infertux","https://patreon.com/infertux","https://liberapay.com/infertux/donate"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfertux%2Fbashcov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfertux%2Fbashcov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfertux%2Fbashcov/lists"}