MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / coverage

Function coverage

src/bin/evaluate.rs:253–264  ·  view source on GitHub ↗
(project: String, kind: &ACCKind, is_rand_bench: bool)

Source from the content-addressed store, hash-verified

251}
252
253fn coverage(project: String, kind: &ACCKind, is_rand_bench: bool) -> Result<()> {
254 let deopt = Deopt::new(project)?;
255 match kind {
256 ACCKind::Collect => collect_accumulation_coverage(&deopt, is_rand_bench)?,
257 ACCKind::Plot => {
258 collect_accumulation_coverage(&deopt, is_rand_bench)?;
259 plot_acc_coverage(&deopt)?;
260 }
261 ACCKind::Compare => plot_acc_coverage_comparison(&deopt)?,
262 }
263 Ok(())
264}
265
266fn main() -> Result<()> {
267 let config = Config::parse();

Callers 1

mainFunction · 0.85

Calls 3

plot_acc_coverageFunction · 0.85

Tested by

no test coverage detected