Branch Coverage

blib/lib/Config/Ant.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
32 2 12 if exists $$self{$section}{$key}
35 2 8 if (not exists $$self{$section}{$1}) { }
57 20 14 if /^\s*(?:\#|\;|$)/
63 0 14 if (/^\s*\[\s*(.+?)\s*\]\s*$/)
72 14 0 if (/^\s*([^=]+?)\s*=\s*(.*?)\s*$/)
87 0 1 unless (openhandle $file)
88 0 0 unless open $file, '>', $file
93 0 1 if $opened
103 0 0 unless ($b eq '_') <=> ($a eq '_')
105 0 1 if length $contents
106 0 1 unless $section eq '_'