Condition Coverage

lib/Kephra/Document/Property.pm
Criterion Covered Total %
condition 0 42 0.0


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 0 not ref $_[0] and defined $_[1]
65 0 0 0 $old_value eq 'ascii' and $new_value eq 'utf8'
0 0 0 $old_value eq 'utf8' and $new_value eq 'ascii'
202 0 0 0 $file and not -w $file

or 3 conditions

line l !l&&r !l&&!r condition
62 0 0 0 $doc_nr < 0 or not defined $new_value
96 0 0 0 not $size or $nr < 0
148 0 0 0 $mode eq 'cr+lf' or $mode eq 'win'
0 0 0 $mode eq 'cr' or $mode eq 'mac'
159 0 0 0 shift() || get_EOL_mode()
165 0 0 0 $mode eq 'cr+lf' or $mode eq 'win'
0 0 0 $mode eq 'cr' or $mode eq 'mac'
194 0 0 0 not $status or $status eq 'off'
0 0 0 $status eq 'on' or $status eq '1'
0 0 0 $status eq 'protect' or $status eq '2'