Branch Coverage

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


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