Condition Coverage

blib/lib/Test/Changes/Strict/Simple.pm
Criterion Covered Total %
condition 40 50 80.0


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 9 @_ >= 2 and $_[0] =~ /^-/
142 2 0 118 -f $fname and -r $fname
2 0 118 -f $fname and -r $fname and -T $fname
156 0 102 31 @$aref and $aref->[-1] eq ""
242 139 87 11 exists $item_line{$old_state} and not $$lines[$i - 2] =~ /\.$/
3 215 22 $Chk_Dots and (exists $item_line{$old_state} and not $$lines[$i - 2] =~ /\.$/)
247 36 58 6 defined $next_line and not $next_line =~ /^\S/
276 104 58 7 exists $item_line{$state} and not $$lines[$i - 2] =~ /\.$/
4 162 7 $Chk_Dots and (exists $item_line{$state} and not $$lines[$i - 2] =~ /\.$/)
298 0 27 3 $i > @$lines and not exists $states{$state}{'st_EOF'}
305 52 9 4 $i > @$lines and not exists $states{$state}{'st_EOF'}

or 2 conditions

line l !l condition
99 122 1 delete $args{'changes_file'} // "Changes"

or 3 conditions

line l !l&&r !l&&!r condition
103 2 0 1 delete $args{'module_version'} // croak("module_version is undef")
180 2 6 0 $diag // ()
245 100 0 140 exists $item_line{$old_state} or $old_state eq "st_empty_after_item"
298 62 3 27 %errors or $i > @$lines and not exists $states{$state}{'st_EOF'}
305 1 3 0 $diag // ()