{"id":13507592,"url":"https://github.com/alfert/coverex","last_synced_at":"2025-10-21T14:55:16.492Z","repository":{"id":16881600,"uuid":"19642139","full_name":"alfert/coverex","owner":"alfert","description":"Coverage Reports for Elixir","archived":false,"fork":false,"pushed_at":"2021-04-25T20:21:19.000Z","size":180,"stargazers_count":102,"open_issues_count":7,"forks_count":24,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-21T14:55:07.166Z","etag":null,"topics":["coverage-report","elixir"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfert.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":"2014-05-10T13:32:48.000Z","updated_at":"2025-08-25T16:28:20.000Z","dependencies_parsed_at":"2022-08-25T11:50:09.837Z","dependency_job_id":null,"html_url":"https://github.com/alfert/coverex","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/alfert/coverex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfert%2Fcoverex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfert%2Fcoverex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfert%2Fcoverex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfert%2Fcoverex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfert","download_url":"https://codeload.github.com/alfert/coverex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfert%2Fcoverex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280281396,"owners_count":26303708,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"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":["coverage-report","elixir"],"created_at":"2024-08-01T02:00:36.678Z","updated_at":"2025-10-21T14:55:16.478Z","avatar_url":"https://github.com/alfert.png","language":"JavaScript","funding_links":[],"categories":["Code Analysis"],"sub_categories":[],"readme":"# Coverex\n\nCoverex is an Elixir Coverage tool used by `mix`. It provides tables with overviews of\nmodule and function coverage data, includings links to annotated source code files.\n\n[![Build Status](https://travis-ci.org/alfert/coverex.svg?branch=master)](https://travis-ci.org/alfert/coverex)\n[![Coverage Status](https://coveralls.io/repos/alfert/coverex/badge.png?branch=master)](https://coveralls.io/r/alfert/coverex?branch=master)\n[![hex.pm version](https://img.shields.io/hexpm/v/coverex.svg?style=flat)](https://hex.pm/packages/coverex)\n\n## Configuration\n\nCoverex is completely configured via `mix.exs` of your project. To enable `Coverex`,\nyou add this line to your `mix.exs` file\n\n\ttest_coverage: [tool: Coverex.Task]\n\nas part of the regular project settings. In addition to that, you need to add Coverex\nto the dependencies of your project. Coverex is available via `hex.pm`, so you need only to\nadd this line to the dependencies in your `mix.exs` file:\n\n\t{:coverex, \"~\u003e 1.4.10\", only: :test}\n\nFor debugging purposes, the log level can be set as addition to the `tool` option. The default\nvalue is `:error`. To set the log level to `:debug` you use this line in your `mix.exs` file:\n\n\ttest_coverage: [tool: Coverex.Task, log: :debug]\n\nThe usual log levels of the `Logger` application of Elixir are available.\n\nIf you set the flag `coveralls: true` and you are running on `travis-ci`, the coverage information are sent to http://coveralls.io . An example configuration would be\n\n\ttest_coverage: [tool: Coverex.Task, coveralls: true]\n\n\nSince `coverex 1.4.7`, a summary on the module level is printed on the console. You can switch this off by setting the option `console_log` to `false`.\n\n\ttest_coverage: [tool: Coverex.Task, console_log: false]\n\nIf you want to ignore some of the modules to appear in the coverage reports, e.g\nbecause they are generated automatically and therefore often needs no test coverage,\nyou can do this since `coverex 1.4.8`. Use the option `ignore_modules` and assign\nto it a list of module names to ignore.\n\n\ttest_coverage: [tool: Coverex.Task, ignore_modules: [Database, Database.User]]\n\nSince `coverex 1.4.10` the from the Elixir compiler automatically generated\nfunctions `__info__` and `__struct__` are removed from the list of covered\nfunctions. It simply makes no sense to include them into the list (see also #24).\n\n## Running Coverex\n\nIf you have configured Coverex as described above you can run Coverex as a drop-in replacement\nfor the regular coverage mechanism of mix:\n\n    $\u003e mix test --cover\n\nThe coverage reports are found in the `cover` directory or what you have configured as coverage directory\nas explained in the docs of the `Mix.Tasks.Test` task.\n\n## Contributing\n\nPlease use the GitHub issue tracker for\n\n* bug reports and for\n* submitting pull requests\n\n## License\n\nCoverex is provided under the Apache 2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfert%2Fcoverex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfert%2Fcoverex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfert%2Fcoverex/lists"}