Branch Coverage

blib/lib/API/Plesk/Component.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
12 0 16 unless $attrs{'plesk'}
24 9 26 if (ref $key) { }
26 1 8 unless grep {$$hash{$_};} @$key
28 1 25 unless exists $$hash{$key}
40 6 79 if (ref $key)
43 36 49 if exists $$params{$key}
55 0 8 unless ($$params{'hosting'})
56 0 0 if $required
66 6 2 if ($type eq 'vrt_hst') { }
1 1 elsif ($type eq 'std_fwd' or $type eq 'frm_fwd') { }
0 1 elsif ($type eq 'none') { }
78 5 1 if $ip
79 6 0 @properties ? :
86 0 1 unless $$hosting{'dest_url'}
91 1 0 if $ip
110 1 1 if (ref $$filter{$key} eq 'ARRAY') { }
120 1 0 @filter ? :