Branch Coverage

blib/lib/Bot/Pastebot/Conf.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
23 0 0 unless defined $section
25 0 0 unless (exists $item{'name'})
35 0 0 if ($item_type & 4)
36 0 0 unless exists $item{$item_name}
45 0 0 if exists $config{$item{'name'}}
63 0 0 if (defined $conf_file) { }
73 0 0 unless -f $try
79 0 0 unless (defined $conf_file and -f $conf_file)
91 0 0 unless open MPH, '<', $conf_file
97 0 0 if /^\s*$/
102 0 0 if (/^\s+(\S+)\s+(.*?)\s*$/)
104 0 0 unless defined $section
110 0 0 unless exists $$conf_definition{$section}{$1}
115 0 0 if (exists $item{$1}) { }
116 0 0 if (ref $item{$1} eq 'ARRAY') { }
124 0 0 if ($$conf_definition{$section}{$1} & 2) { }
135 0 0 if (/^(\S+)\s*$/)
146 0 0 if ($item_flags & 2)
167 0 0 unless $$item{'type'} eq $type
176 0 0 unless exists $config{$name}