hackndev / zinc

The bare metal stack for rust
zinc.rs
Apache License 2.0
1k stars 100 forks source link

Coverage makes little sense #310

Closed farcaller closed 9 years ago

farcaller commented 9 years ago

Coverage data has little insight on files that weren't used in testing, giving out silly result of 93% covered when it's closed to 7% covered.

One way to fix it is to expand cobertura.xml with all the missing files from relevant subdir. Those should not include lines with comments or empty lines; actual coverage is even more small, but that should give a reasonable approximation.