Branch Coverage

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


line true false branch
12 0 14 unless $attrs{'plesk'}
24 8 23 if (ref $key) { }
26 1 7 unless grep {$hash->{$_};} @$key
28 1 22 unless exists $hash->{$key}
40 5 64 if (ref $key)
44 31 38 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 ? :