Branch Coverage

blib/lib/JMX/Jmx4Perl/Config.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
11 0 4 $@ ? :
80 2 0 if (not ref $file_or_hash) { }
0 0 elsif (ref $file_or_hash eq 'HASH') { }
81 1 1 $file_or_hash ? :
82 1 1 if (-e $file)
83 1 0 if ($HAS_CONFIG_GENERAL) { }
101 1 1 if ($config)
123 1 0 defined $cfg ? :
136 2 0 $$self{'server_config'} ? :
154 0 1 unless $servers
155 0 1 if (ref $servers eq 'ARRAY') { }
1 0 elsif (ref $servers eq 'HASH') { }
159 0 0 unless $$s{'name'}
165 2 0 if (ref $$servers{$name} eq 'HASH') { }