Branch Coverage

blib/lib/JMX/Jmx4Perl/Config.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
11 0 4 $@ ? :
82 2 0 if (not ref $file_or_hash) { }
0 0 elsif (ref $file_or_hash eq 'HASH') { }
83 1 1 $file_or_hash ? :
84 0 2 if -d $file
85 1 1 if (-e $file) { }
0 1 elsif (-d $file) { }
86 1 0 if ($HAS_CONFIG_GENERAL) { }
106 1 1 if ($config)
128 1 0 defined $cfg ? :
141 2 0 $self->{'server_config'} ? :
159 0 1 unless $servers
160 0 1 if (ref $servers eq 'ARRAY') { }
1 0 elsif (ref $servers eq 'HASH') { }
164 0 0 unless $s->{'name'}
170 2 0 if (ref $servers->{$name} eq 'HASH') { }