Branch Coverage

blib/lib/Apache/Hadoop/Config.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
53 0 0 if not $min or $_ < $min
60 0 0 if not $max or $_ > $max
66 0 0 unless (defined $self->{'config'})
74 0 0 unless defined $self->{'config'}{$file}{$param}
122 0 0 if defined $self->{'debug'}
130 0 0 if defined $self->{'debug'}
137 0 0 if defined $self->{'debug'}
145 0 0 if defined $self->{'debug'}
159 0 0 unless open CPU, $cpuinfo
168 0 0 unless open MEM, $meminfo
185 0 0 unless defined $self->{'sysinfo'}{'mem'}
188 0 0 $m >= 16 ? :
189 0 0 $m >= 64 ? :
190 0 0 if $self->{'debug'}
197 0 0 unless defined $self->{'sysinfo'}{'mem'}
200 0 0 if $self->{'debug'}
207 0 0 unless defined $self->{'sysinfo'}{'mem'}
209 0 0 $m < 24 ? :
0 0 $m < 8 ? :
0 0 $m < 4 ? :
212 0 0 if $self->{'debug'}
221 0 0 unless defined $self->{'sysinfo'}{'cpu'}
224 0 0 unless (defined $self->{'sysinfo'}{'disk'})
227 0 0 if $self->{'debug'}
268 0 0 if defined $self->{'sysinfo'}{$k}
314 0 0 if (/header/)
317 0 0 if (/config/)
319 0 0 if defined $args{'begin'}
320 0 0 if defined $args{'end'}
323 0 0 if (/property/)
340 0 0 unless open CONF, '>' . $cdir . '/' . $file