Branch Coverage

blib/lib/Config/YAML/Tiny.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
16 0 9 if $_[0] ne 'config'
21 2 7 if (@_ and $_[0] eq 'output')
22 0 9 if (@_ and $_[0] eq 'strict')
41 4 3 if ($Config::YAML::Tiny::AUTOLOAD =~ /.*::get_(\w+)/)
43 1 3 unless defined $$self{$attr}
48 3 0 if ($Config::YAML::Tiny::AUTOLOAD =~ /.*::set_(\w+)/)
65 1 9 if $file
70 0 10 unless open FH, '<', $$self{'_infile'}
73 9 181 if $line =~ /^\-{3,}/
74 0 181 if $line =~ /^#/
75 0 181 if $line =~ /^$/
89 11 3 unless $k =~ /^_/
93 0 1 unless open FH, '>', $$self{'_outfile'}