Condition Coverage

lib/Data/Identifier/Util.pm
Criterion Covered Total %
condition 10 63 15.8


and 3 conditions

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

or 2 conditions

line l !l condition
210 9 0 $template //= ""
361 0 2 $1 || '0'
430 0 0 $identifier->as($ent->[1], "no_defaults", 1, "default", undef) // (next)
444 0 0 delete $opts{'exponentas'} // "int"
491 0 0 $request->{'10'} //= 0
497 0 0 delete $request->{$key} // 0
502 0 0 $request->{$prime_element} //= 0
508 0 0 delete $request->{$key} // 0
596 14 0 $id->{'id_cache'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
233 0 0 0 $v < 0 or $v > 4095
262 0 0 6 defined $min and $v < $min or defined $max and $v > $max
486 0 0 0 $_component_to_name{$_->{'component'}->uuid} // croak('Unknown base unit: ' . $_->{'component'}->uuid)
490 0 0 0 $_si_prefix{$prefix} // croak('Bad prefix: ' . $prefix)
534 0 0 0 $_number_units{$key} // $_base_units{$key}{'id'}
554 0 0 0 $opts{'namespace'} //= $_wk{'dunit_ns'}
0 0 0 $opts{'generator'} //= $_wk{'dunit_gen'}
597 0 14 0 $id->{'id_cache'}{$_logical} //= $key