Condition Coverage

blib/lib/VIC/PIC/Gpsim.pm
Criterion Covered Total %
condition 21 51 41.1


and 3 conditions

line !l l&&!r l&&r condition
57 26 0 4 defined $color and ref $color eq 'HASH'
124 0 0 69 defined $io1 and defined $io3
199 0 2 0 defined $p and ref $p eq 'HASH'
270 0 0 3 defined $ipin and defined $opin
387 1 0 26 defined $msg and ref $msg eq 'HASH'
395 2 0 0 defined $msg and ref $msg eq 'HASH'
398 0 0 2 defined $condition and ref $condition eq 'HASH'
401 0 2 0 defined $condition and defined $msg
0 0 2 defined $condition and not defined $msg
0 0 0 defined $msg and not defined $condition
431 7 0 2 defined $hh{'EVERY'} and length $hh{'EVERY'}
432 0 7 2 defined $period and length $period
435 0 0 9 exists $hh{'WAVE'} and ref $hh{'WAVE'} eq 'ARRAY'
510 0 3 0 exists $self->pic->pins->{$ipin} and exists $self->pic->pins->{$opin}
523 0 0 2 ref $loopback eq 'HASH' and $loopback->{'string'} =~ /loopback/i

or 2 conditions

line l !l condition
255 7 0 $file->{'string'} || 'vicsim.log'
444 0 9 $hh{'START'} || {sign => '+', value => [0]}
446 0 9 $hh{'INITIAL'} || {sign => '+', value => [0]}