Condition Coverage

lib/Data/Identifier/Util.pm
Criterion Covered Total %
condition 10 38 26.3


and 3 conditions

line !l l&&!r l&&r condition
149 0 0 6 defined $v and defined $pack_template
160 0 6 0 defined $min and $v < $min
0 6 0 defined $max and $v > $max
217 0 0 6 defined $type and defined $pack_template
312 0 0 0 defined(my Data::Identifier $generator = $identifier->generator("default", undef)) and defined(my $req = $identifier->request("default", undef))
313 0 0 0 $generator->eq("d74f8c35-bcb8-465c-9a77-01010e8ed25c") and $req =~ /^[Uu]\+([0-9a-fA-F]{4,6})$/u
340 0 0 34 ref $args[0] and eval { do { $args[0]->isa(__PACKAGE__) } }

or 2 conditions

line l !l condition
110 9 0 $template //= ""
255 0 2 $1 || '0'
324 0 0 $identifier->as($ent->[1], "no_defaults", 1, "default", undef) // (next)
369 14 0 $id->{'id_cache'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
133 0 0 0 $v < 0 or $v > 4095
160 0 0 6 defined $min and $v < $min or defined $max and $v > $max
370 0 14 0 $id->{'id_cache'}{$_logical} //= $key