Branch Coverage

blib/lib/DDG/Meta/Information.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
79 0 45 if exists $applied{$target}
100 4 7 unless scalar @_ == 1
104 0 7 unless grep {$_ eq $value;} @supported_categories
114 0 14 unless grep {$_ eq $value;} @supported_topics
125 0 13 unless grep {$_ eq $type;} keys %supported_types
132 0 7 unless scalar @_ == 1
140 0 7 unless scalar @_ == 1
148 0 7 unless scalar @_ == 1
173 4 7 unless $value =~ /$url_regex/g or $value =~ m[^/(i/)?(.+)\.(ico|png|jpe?g)$]gi
181 0 7 unless $value =~ /$url_regex/g
189 0 7 unless $value =~ /^(enabled|disabled)$/gi
227 2 6 ref $value eq 'ARRAY' ? :