Condition Coverage

lib/Data/URIID/Barcode.pm
Criterion Covered Total %
condition 9 69 13.0


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 not defined $from and defined $values
0 0 0 not defined $from and defined $filename
236 0 0 0 ref $type and not exists $_type_info{$type}
316 3 1 1 not scalar @args and ref $self

or 2 conditions

line l !l condition
60 0 0 delete $opts{$key} // (next)
65 0 0 $template // "%s"
113 0 0 $type //= []
180 0 0 $opts{'type'} //= []
183 0 0 $opts{'type'} //= []
186 0 0 $opts{'type'} //= []
189 0 0 $opts{'type'} //= []
309 3 2 $info->{'aliases'} //= []
312 2 3 $info->{'special'} //= undef

or 3 conditions

line l !l&&r !l&&!r condition
115 0 0 0 not defined $max_quality or $max_quality < $raw_quality
153 0 0 0 not defined $max_length or $max_length < $length
175 0 0 0 $opts{'extractor'} //= $from->extractor("default", undef)
179 0 0 0 $opts{'data'} //= $from->url->as_string
182 0 0 0 $opts{'data'} //= $from->ise
185 0 0 0 $opts{'data'} //= $from->ise
188 0 0 0 $opts{'data'} //= $from->as_string
325 11 0 0 $_type_info{$arg} // $$aliases{fc $arg}
11 0 0 ($_type_info{$arg} // $$aliases{fc $arg}) // croak('No such type: ' . $arg)
343 0 0 0 $self->{'result'} //= eval {
352 0 0 0 $data =~ /^[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$/u or $data =~ /^[1-3](?:\.(?:0|[1-9][0-9]*))+$/u
372 0 0 0 $self->{'displayname'} //= $self->{'result'}->displayname(%args)
373 0 0 0 $self->{'displayname'} //= $self->as("Data::Identifier")->displayname(%args)