in src/lib.rs [136:147]
fn rename_single_files(results: &mut [(String, CovResult)], stem: &str) {
// sometimes the gcno just contains foo.c
// so in such case (with option --guess-directory-when-missing)
// we guess the filename in using the buffer stem
if let Some(parent) = Path::new(stem).parent() {
for (file, _) in results.iter_mut() {
if has_no_parent(file) {
*file = parent.join(file.as_str()).to_str().unwrap().to_string();
}
}
}
}