Condition Coverage

blib/lib/Schedule/Activity/Node.pm
Criterion Covered Total %
condition 45 75 60.0


and 3 conditions

line !l l&&!r l&&r condition
59 1 6 3 defined $next and not is_ref($next)
2 5 0 is_hashref($next) and $next->{'keyname'}
102 406 7 1 @invalids and $#invalids != 2
141 2293 5987 8317 $i < $L->$#* and $y > ($L->[$i][1]{'weight'} // 1)
151 200 331252 115919 $opt{'not'} and $opt{'not'} eq $next
154 305476 0 25826 builtin::blessed($next->{'require'}) and $opt{'attr'}
162 0 13920 3451 $opt{'not'} and $opt{'not'} eq $href->{'node'}
163 6960 0 6960 builtin::blessed($href->{'node'}{'require'}) and $opt{'attr'}

or 2 conditions

line l !l condition
115 26 0 $_->{'weight'} // 1
126 191493 0 $self->{'tmavg'} // 0
1 0 ($self->{'tmmin'} // $self->{'tmavg'}) // 0
127 1 0 ($self->{'tmmax'} // $self->{'tmavg'}) // 0
187641 0 $self->{'tmavg'} // 0
131 185980 0 $self->{'tmavg'} // 0
141 8317 0 $L->[$i][1]{'weight'} // 1
14304 0 $L->[$i][1]{'weight'} // 1
165 24840 0 $href->{'weight'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
21 0 173933 0 is_ref($ref) || $ref
35 0 75 0 $node->{'tmmax'} //= $node->{'tmavg'} * $defaults{'tmmax/tmavg'}
36 0 38 37 $node->{'tmmin'} //= $node->{'tmavg'} / $defaults{'tmavg/tmmin'}
41 0 1 0 $node->{'tmmax'} //= $node->{'tmmin'} * $defaults{'tmmax/tmmin'}
42 0 1 0 $node->{'tmavg'} //= $node->{'tmmin'} * $defaults{'tmavg/tmmin'}
46 0 1 0 $node->{'tmavg'} //= $node->{'tmmax'} / $defaults{'tmmax/tmavg'}
47 0 1 0 $node->{'tmmin'} //= $node->{'tmmax'} / $defaults{'tmmax/tmmin'}
120 0 1 102 not defined $node{'finish'} or is_ref($node{'finish'})
126 191492 1 0 $self->{'tmmin'} // $self->{'tmavg'}
127 187640 1 0 $self->{'tmmax'} // $self->{'tmavg'}
142 3480 0 4800 $L->[$i][1]{'node'} // $L->[$i][0]