Branch Coverage

lib/Kephra/Document/Property.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
18 0 0 if $doc_nr < 0
19 0 0 if (not ref $property) { }
0 0 elsif (ref $property eq 'ARRAY') { }
28 0 0 unless defined $v
29 0 0 if $key eq 'codepage'
30 0 0 if $key eq 'EOL'
31 0 0 if $key eq 'readonly'
32 0 0 if $key eq 'syntaxmode'
33 0 0 if $key eq 'tab_size'
34 0 0 if $key eq 'tab_use'
37 0 0 if (not ref $_[0] and defined $_[1]) { }
0 0 elsif (ref $_[0] eq 'HASH') { }
44 0 0 if $nr < 0
47 0 0 if _is_current($nr)
62 0 0 if $doc_nr < 0 or not defined $new_value
65 0 0 if ($old_value eq 'ascii' and $new_value eq 'utf8') { }
0 0 elsif ($old_value eq 'utf8' and $new_value eq 'ascii') { }
88 0 0 get_codepage(_doc_nr()) eq 'utf8' ? :
96 0 0 if not $size or $nr < 0
109 0 0 if $nr < 0
111 0 0 if ($mode eq 'auto')
112 0 0 if ($ep->GetTextLength) { }
116 0 0 if ($line =~ /^( |\t)/)
117 0 0 $1 eq ' ' ? :
128 0 0 if _is_current($nr)
132 0 0 get_tab_mode() ? :
139 0 0 unless defined $mode
140 0 0 if ($mode eq 'OS')
141 0 0 if (&Wx::wxMSW) { }
0 0 elsif (&Wx::wxMAC) { }
145 0 0 if $mode eq 'auto'
148 0 0 if ($mode eq 'cr+lf' or $mode eq 'win') { }
0 0 elsif ($mode eq 'cr' or $mode eq 'mac') { }
162 0 0 unless $mode
163 0 0 if $mode eq 'auto'
165 0 0 if ($mode eq 'cr+lf' or $mode eq 'win') { }
0 0 elsif ($mode eq 'cr' or $mode eq 'mac') { }
176 0 0 if $begin_pos < 0
179 0 0 if (length $text < 1) { }
194 0 0 if (not $status or $status eq 'off') { }
0 0 elsif ($status eq 'on' or $status eq '1') { }
0 0 elsif ($status eq 'protect' or $status eq '2') { }
202 0 0 if ($file and not -w $file) { }
207 0 0 $ep->GetReadOnly ? :
209 0 0 if Kephra::App::TabBar::_config()->{'info_symbol'}