Condition Coverage

blib/lib/Benchmark/DKbench.pm
Criterion Covered Total %
condition 54 71 76.0


and 3 conditions

line !l l&&!r l&&r condition
426 0 0 1 $physical and $physical > 1
428 0 1 0 $cores and $cores != $ncpu
469 24 16 2 $stats1->{$bench}{'times'} and $stats2->{$bench}{'times'}
482 2 0 0 $opt->{'scale'} and $opt->{'scale'} > 1
483 1 1 0 $opt->{'iter'} and $opt->{'iter'} > 1
507 126 40 2 $opt->{'skip_bio'} and $bench =~ /Monomers/
508 124 40 2 $opt->{'skip_prove'} and $bench =~ /prove/
509 40 118 6 not $opt->{'bio_codons'} and $bench =~ /Codons/
510 38 114 6 not $opt->{'time_piece'} and $bench =~ /Time::Piece/
511 114 34 4 $opt->{'ver'} and $benchmarks->{$bench}[5]
34 2 2 $opt->{'ver'} and $benchmarks->{$bench}[5] and $opt->{'ver'} < $benchmarks->{$bench}[5]
512 95 49 6 $opt->{'exclude'} and $bench =~ /$opt->{'exclude'}/
513 17 6 121 $opt->{'include'} and not $bench =~ /$opt->{'include'}/
1078 2 0 2 $opt->{'stdev'} and $avg

or 2 conditions

line l !l condition
411 1 0 $ncpu ||= 1
415 1 0 System::CPU::get_name() || ''
416 1 0 System::CPU::get_arch() || ''
438 4 2 $opt->{'threads'} //= 1
439 2 4 $opt->{'scale'} //= 1
519 23 0 $time || 1
560 1 0 $opt->{'threads'} * $opt->{'scale'} || 1
565 1 22 $srand //= 1
1021 25 3 $diff || -1
1065 0 1 $stats->{$bench}{'fail'} || 0
1121 18 100 shift() || 20
1126 2 2 shift() || ''
1136 5263 1 shift() || 1

or 3 conditions

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