Branch Coverage

blib/lib/Opsview/StatusAPI.pm
Criterion Covered Total %
branch 7 32 21.8


line true false branch
61 4 0 unless defined $params{'secure'}
62 1 3 unless defined $params{'host'}
77 0 3 $$self{'secure'} == 1 ? :
83 1 0 unless defined $$self{'user'}
84 0 0 unless defined $$self{'password'}
92 0 0 if ($res->is_success) { }
102 0 0 if (ref $filter eq 'SCALAR') { }
0 0 elsif (ref $filter eq 'HASH') { }
105 0 0 if (defined $$filter{'state'} and defined $$states{$$filter{'state'}})
109 0 0 if (ref $$filter{$_} eq 'ARRAY') { }
116 0 0 if $q
135 1 0 unless defined $host
136 0 0 defined $filter ? :
148 0 0 if defined $value
160 0 0 if defined $value
294 0 1 unless defined $hg_id