Crates.io | kcov-coverage-fix |
lib.rs | kcov-coverage-fix |
version | 0.1.0 |
source | src |
created_at | 2019-12-11 05:02:47.133894 |
updated_at | 2019-12-11 05:02:47.133894 |
description | Fix coverage data generated by kcov |
homepage | https://github.com/Kogia-sima/kcov-coverage-fix |
repository | https://github.com/Kogia-sima/kcov-coverage-fix |
max_upload_size | |
id | 188373 |
size | 27,360 |
Rustc is known to report an incorrect coverage for some lines (https://stackoverflow.com/questions/32521800/why-does-kcov-calculate-incorrect-code-coverage-statistics-for-rust-programs).
kcov-coverage-fix
will read coverage from cobertura.xml (generated by kcov), fix it, then overwrites the original file.
kcov-coverage-fix
will mark as non-executable line:
else
statementsif a > 0 {
b = a
} else { // <-- marked as "not executable"
b = -a
}; // <-- marked as "not executable"
pub struct Parser<R: BufRead> { // <-- marked as "not executable"
reader: R
}
👤 Kogia-sima
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Kogia-sima.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator