Condition Coverage

blib/lib/BikePower.pm
Criterion Covered Total %
condition 15 35 42.8


and 3 conditions

line !l l&&!r l&&r condition
246 1 0 1 ref $_[0] and $_[0]->isa('BikePower')
280 7 0 21 not $k =~ /^[_\-]/ and defined $v
7 0 21 not $k =~ /^[_\-]/ and defined $v and $v ne ''
331 0 0 0 not $k =~ /^[_\-]/ || _nosave($k) and $v ne ''

or 2 conditions

line l !l condition
298 0 0 eval { do { local $SIG{'__DIE__'}; (getpwuid $<)[7] } } || $ENV{'HOME'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
223 4 0 0 $a{'-no-ini'} or not $s->load_defaults
229 2 0 2 $s->given or $a{'-no-default'}
260 8 0 44 _nosave($k) or not defined $$old{$k}
8 0 44 _nosave($k) or not defined $$old{$k} or $$old{$k} eq ''
331 0 0 0 $k =~ /^[_\-]/ || _nosave($k)
401 1 0 1 $self->given eq 'P' or $self->given eq 'C'
519 0 0 0 $self->given eq 'P' or $self->given eq 'C'