Condition Coverage

blib/lib/Benchmark/DKbench.pm
Criterion Covered Total %
condition 49 62 79.0


and 3 conditions

line !l l&&!r l&&r condition
376 0 0 1 $physical and $physical > 1
378 0 1 0 $cores and $cores != $ncpu
419 24 16 2 $stats1->{$bench}{'times'} and $stats2->{$bench}{'times'}
450 126 40 2 $opt->{'skip_bio'} and $bench =~ /Monomers/
451 124 40 2 $opt->{'skip_prove'} and $bench =~ /prove/
452 40 118 6 not $opt->{'bio_codons'} and $bench =~ /Codons/
453 38 114 6 not $opt->{'time_piece'} and $bench =~ /Time::Piece/
454 114 34 4 $opt->{'ver'} and $benchmarks->{$bench}[5]
34 2 2 $opt->{'ver'} and $benchmarks->{$bench}[5] and $opt->{'ver'} < $benchmarks->{$bench}[5]
455 95 49 6 $opt->{'exclude'} and $bench =~ /$opt->{'exclude'}/
456 17 6 121 $opt->{'include'} and not $bench =~ /$opt->{'include'}/

or 2 conditions

line l !l condition
363 1 0 $ncpu ||= 1
367 1 0 System::CPU::get_name() || ''
368 1 0 System::CPU::get_arch() || ''
388 4 2 $opt->{'threads'} //= 1
389 2 4 $opt->{'repeat'} //= 1
462 23 0 $time || 1
503 1 0 $opt->{'threads'} * $opt->{'repeat'} || 1
508 1 22 $srand //= 1
964 25 3 $diff || -1
1007 0 1 $stats->{$bench}{'fail'} || 0
1057 18 97 shift() || 20
1062 2 2 shift() || ''
1072 5263 1 shift() || 1

or 3 conditions

line l !l&&r !l&&!r condition
366 0 0 0 $info->{'distro'} || $info->{'os'} || $^O