How to Contribute
We actively welcome contributions to AdlerCov! Whether it's adding a new parser, improving the documentation, or fixing a bug, your help is valued.
Project Architecture
AdlerCov is built with a modular design to enable easy expansion. The core pipeline is:
- Parsers (
internal/parsers
): Convert various input formats (e.g., Cobertura, GoCover) into a standardized intermediatemodel
. - Analyzer (
internal/analyzer
): Merges one or more parsed results into a single, unified summary. This is where filtering and data enrichment happens. - Reporters (
internal/reporter
): Takes the final summary and generates output formats like HTML, Text, or LCOV.
Setting Up Your Development Environment
- Clone the repository:
git clone https://github.com/IgorBayerl/AdlerCov.git
- Install Go (version 1.23 or higher).
- Install dependencies:
go mod tidy
- Run the tests:
go test ./...
How to Add a New Parser
(This would be a great place to add a detailed guide on the parser interface and how to implement it, as you planned).