-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messages
Description
It would be nice if we were able to gather test coverage information for Clippy.
We have an old script written by @mcarton that could be used to run kcov
on Clippy. It seems like this script doesn't work currently for various reasons.
While making coverage tracking work again it might be worth to investigate tarpaulin, as well.
@felix91gr mentioned on Discord that they would like to work on coverage tracking once #3963 is done.
felix91gr
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messages
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-]Try enabling coverage tracking for Clippy (again)[/-][+]Try using coverage tracking for Clippy[/+]mati865 commentedon Apr 18, 2019
There is no accurate coverage available for Rust right now. rust-lang/rust#34701 is promising but probably years from being done.
ThibsG commentedon Nov 13, 2020
Recently, improvements have been done with the use of
llvm-cov
(see rust-lang/rust#34701).Zulip thread to see rendering work done by @flip1995.
To improve this rendering, one leftover question is how to exclude dependencies from the results (e.g. exclude results from
.cargo
and.rustup
paths): maybe building deps without-Zinstrument-coverage
?