Branch Coverage

blib/lib/PlugAuth/Role/Flat.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
21 0 2755 unless -e $filename
23 2498 257 if $MTimes{$filename} and $MTimes{$filename} == $mtime
60 0 259 unless flock $fh, 1
65 494 629 if $line =~ /^#/ or not length $line
71 131 498 if $args{'nest'} == 2
72 488 141 if $args{'lc_keys'}
73 411 218 if $args{'lc_values'}
74 421 208 if $args{'nest'}
75 208 421 if ($args{'nest'} == 0) { }
290 131 elsif ($args{'nest'} == 1) { }
131 0 elsif ($args{'nest'} == 2) { }
97 14 70 unless (defined $dir)
130 0 126 if $@
134 126 0 if (defined $buffer)
146 0 126 if (my $error = $@)
164 0 3 if $@
173 0 3 if (my $error = $@)