Branch Coverage

blib/lib/Mojolicious/Plugin/UniqueTagHelpers.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
7 15 18 ref $_[0] eq 'CODE' ? :
20 12 4 if (defined $content)
24 0 12 if $conf->{'max_key_length'} < length $key
26 8 4 if exists $hash->{$name}{$key}
39 12 4 if (defined $content)
43 0 12 if $conf->{'max_key_length'} < length $key
45 8 4 if exists $hash->{$name}{$key}
58 9 0 if (defined $content)
62 3 6 if $conf->{'max_key_length'} < length $key
64 6 3 if exists $hash->{$name}{$key}