Releases: DennisJensen95/coverage-scope
GLIBC version discrepancy bugfix
Feature: Implemented C# support Changes: - Removing a BOM character for xml parsing
C# support
We have implemented C# support. C# creates the cobertura xml coverage file with a BOM character in the beginning so we are stripping this and made complexity Optional in the root tag.
Support for angular cobertura xml files
This patch introduces support for Angular Cobertura XML files. Notably, Angular doesn't include a complexity parameter for Class and Packages within these XML files. Since we don't use this metric at the moment, the patch modifies the serialization process of the data objects to be more relaxed.
Bugfix counting lines properly
Instead of relying on interval line numbers from the git diff parser now we rely on exact line numbers from the changed lines of code.
Custom git patch parser
Due to the patch-rs crate could not properly parse several git files we made our own git parser.
Bugfix: Relaxing cobertura data format parsing
In the cobertura xml file format, we allow classes attribute of a package to be empty.
Bugfix parsing empty coverage line files
This release fixes a bug that the coverage scope fails parsing coverage files with empty lines.
Code coverage analysis information relay
This release includes coverage scope runs that document the percentage of lines covered for each changed file.
Parsing of lcov files and bugfix
The release includes new parsing features and coverage bugfix.
Feature:
Parsing of lcov.info
files are now possible. You can both pass in an lcov.info
file and also cobertura.xml
files. For quality gating code coverage in your CI.
Bugfix:
Line coverage of changed files was not correct due to empty lines with code being counted as covered.
Open coverage scope for all languages
This release opens up for being able to parse coverage of any language as long as it can produce a cobertura.xml
coverage file.
Tested languages are:
- Python
- Rust
- Golang
- Dart