Branch Coverage

blib/lib/Web/AssetLib/Util.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
29 0 35 unless scalar @_ > 0
0 35 if scalar @_ > 1
30 35 0 if (my $normalized = $FILE_TYPES{$type}) { }
38 0 5 unless scalar @_ > 0
0 5 if scalar @_ > 1
39 5 0 if (my $normalized = $MIME_TYPES{$type}) { }
47 0 5 unless exists $args{'output'}
5 0 exists $args{'html_attrs'} ? :
0 5 if keys %args
0 5 if scalar @_ > 4