Closed mlveggo closed 5 months ago
Using --skip-functions parameter no code coverage for functions will be generated. It works together with lcov, json and cobertura.
Difference in generation using --skip-functions.
With: 34kb SF:cargo.rs FNF:16 FNH:13 DA:39,45 DA:40,45 DA:41,45 DA:42,45 DA:43,45 ...
Without: 244kb SF:cargo.rs FN:73,_RNCNvMNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargoNtB49Workspace3new0B6 FN:163,_RNCNvMs_NtCs3JuV3kxdPEi_14cargo_llvm_cov5cargoNtB612RustcVersion5parse0B8 FN:153,_RNCNvNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargo13rustcversion0B5 FN:131,_RNCNvMNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargoNtB4_9Workspace11rustcprint0B6 FN:196,_RNvNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargo16test_or_run_args ...
https://llvm.org/docs/CommandGuide/llvm-cov.html
Nice! This will really come in handy!
Published in 0.6.5.
Using --skip-functions parameter no code coverage for functions will be generated. It works together with lcov, json and cobertura.
Difference in generation using --skip-functions.
With: 34kb SF:cargo.rs FNF:16 FNH:13 DA:39,45 DA:40,45 DA:41,45 DA:42,45 DA:43,45 ...
Without: 244kb SF:cargo.rs FN:73,_RNCNvMNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargoNtB49Workspace3new0B6 FN:163,_RNCNvMs_NtCs3JuV3kxdPEi_14cargo_llvm_cov5cargoNtB612RustcVersion5parse0B8 FN:153,_RNCNvNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargo13rustcversion0B5 FN:131,_RNCNvMNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargoNtB4_9Workspace11rustcprint0B6 FN:196,_RNvNtCs3JuV3kxdPEi_14cargo_llvm_cov5cargo16test_or_run_args ...
https://llvm.org/docs/CommandGuide/llvm-cov.html