Branch Coverage

blib/lib/Nagios/Monitoring/Plugin/Config.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
22 13 0 unless ($_[0])
24 13 0 if ($ENV{'NAGIOS_CONFIG_PATH'})
27 13 13 if -f $file
29 0 13 if -f $file
34 0 0 if -f $file
38 0 0 if -f $file
43 0 13 unless $_[0]
54 0 13 ref $_[0] ? :
56 0 13 unless defined $_[0]
65 104 351 if /^\s*(?:\#|\;|$)/
68 104 247 if (/^\s*\[\s*(.+?)\s*\]\s*$/)
77 247 0 if (/^\s*([^=]+?)\s*=\s*(.*?)\s*$/)