Condition Coverage

lib/Data/TagDB.pm
Criterion Covered Total %
condition 0 99 0.0


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 0 scalar @rest == 0 and eval {
97 0 0 0 builtin::blessed($type) and $type->isa("Data::Identifier")
131 0 0 0 defined $style and length $style
139 0 0 0 not defined $role and $specification =~ s/^(.+)\@([^\@]+)$/$2/
182 0 0 0 not scalar @candidates and $i < $len
208 0 0 0 scalar @candidates == 0 and defined $backup_type
292 0 0 0 builtin::blessed($ids) and $ids->isa("Data::Identifier")
296 0 0 0 builtin::blessed($addional_ids) and $addional_ids->isa("Data::Identifier")
317 0 0 0 defined $row and defined $row->[0]
0 0 0 defined $row and defined $row->[0] and $row->[0] > 0
455 0 0 0 $self->{'transaction_type'} eq "ro" and $type eq "rw"
739 0 0 0 defined $indirect and not scalar @{$indirect;}
785 0 0 0 defined $row->{'tag'} and $row->{'tag'} > 0

or 2 conditions

line l !l condition
277 0 0 $$decoders{$type->dbid} //= {}
584 0 0 $self->{'decoders'} //= {}
613 0 0 $$decoders{$metadata->type_evaluated->dbid} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
63 0 0 0 $_queries{$DBI_name}{$name} // $_queries{'_default'}{$name}
134 0 0 0 eval {
0 0 0 (eval {
137 0 0 0 $important ||= $specification =~ s/\!$//
184 0 0 0 $port_tag == $p or $port_tag->dbid eq $p->dbid
270 0 0 0 $self->{'wk'} //= "Data::TagDB::WellKnown"->_new("db", $self)
276 0 0 0 $self->{'decoders'} //= $self->_register_basic_decoders
400 0 0 0 $self->{'migration'} //= "Data::TagDB::Migration"->_new("db", $self)
407 0 0 0 $self->{'factory'} //= "Data::TagDB::Factory"->_new("db", $self)
420 0 0 0 $self->{'transaction_refc'} or defined $self->{'transaction_type'}
446 0 0 0 $type eq "ro" or $type eq "rw"
455 0 0 0 $self->{'transaction_type'} eq $type or $self->{'transaction_type'} eq "rw"
612 0 0 0 $self->{'decoders'} //= $self->_register_basic_decoders
614 0 0 0 $$for_type{$metadata->encoding_evaluated->dbid} // croak("No matching decoder found")
619 0 0 0 $self->{'_DBI_name'} //= $self->dbh->{'Driver'}{'Name'}
625 0 0 0 $self->{'query'}{$name} // confess('No such query: ' . $name)
735 0 0 0 ref $indirect eq "ARRAY" or not defined $indirect
776 0 0 0 $self->{'query'}{$function} // confess('Bad function: ' . $function)