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
404 0 0 1 $physical and $physical > 1
406 0 1 0 $cores and $cores != $ncpu
447 24 16 2 $stats1->{$bench}{'times'} and $stats2->{$bench}{'times'}
478 126 40 2 $opt->{'skip_bio'} and $bench =~ /Monomers/
479 124 40 2 $opt->{'skip_prove'} and $bench =~ /prove/
480 40 118 6 not $opt->{'bio_codons'} and $bench =~ /Codons/
481 38 114 6 not $opt->{'time_piece'} and $bench =~ /Time::Piece/
482 114 34 4 $opt->{'ver'} and $benchmarks->{$bench}[5]
34 2 2 $opt->{'ver'} and $benchmarks->{$bench}[5] and $opt->{'ver'} < $benchmarks->{$bench}[5]
483 95 49 6 $opt->{'exclude'} and $bench =~ /$opt->{'exclude'}/
484 17 6 121 $opt->{'include'} and not $bench =~ /$opt->{'include'}/

or 2 conditions

line l !l condition
389 1 0 $ncpu ||= 1
393 1 0 System::CPU::get_name() || ''
394 1 0 System::CPU::get_arch() || ''
416 4 2 $opt->{'threads'} //= 1
417 2 4 $opt->{'repeat'} //= 1
490 23 0 $time || 1
531 1 0 $opt->{'threads'} * $opt->{'repeat'} || 1
536 1 22 $srand //= 1
992 25 3 $diff || -1
1035 0 1 $stats->{$bench}{'fail'} || 0
1085 18 97 shift() || 20
1090 2 2 shift() || ''
1100 5263 1 shift() || 1

or 3 conditions

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