| lib/Data/TagDB/Tag.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 81 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 61 | 0 | 0 | 0 | defined $id and defined $backup_key |
| 62 | 0 | 0 | 0 | $backup_key eq "uuid" and $key eq "uri" |
| 0 | 0 | 0 | $backup_key eq "oid" and $key eq "uri" | |
| 0 | 0 | 0 | $backup_key eq "small-identifier" and $key eq "uri" | |
| 88 | 0 | 0 | 0 | $as eq "URI" and $curtype eq "uri" |
| 0 | 0 | 0 | $as eq "Data::Identifier" and defined(my $type = $_key_to_data_identifier{$curtype}) | |
| 181 | 0 | 0 | 0 | defined $name and length $name |
| 191 | 0 | 0 | 0 | defined $name and length $name |
| 204 | 0 | 0 | 0 | defined $name and length $name |
| 207 | 0 | 0 | 0 | defined $name and length $name |
| 288 | 0 | 0 | 0 | defined $icontext and length $icontext |
| 300 | 0 | 0 | 0 | defined $icontext and length $icontext |
| line | l | !l | condition |
|---|---|---|---|
| 64 | 0 | 0 | $_key_to_data_identifier{$key} // "" |
| 113 | 0 | 0 | $opts{'as'} // "URI" |
| 431 | 0 | 0 | scalar $first =~ /(z)/gu || 0 |
| 432 | 0 | 0 | scalar $second =~ /(z)/gu || 0 |
| 439 | 0 | 0 | scalar(($first . ' ') =~ /(er)\b/gu) || 0 |
| 440 | 0 | 0 | scalar(($second . ' ') =~ /(er)\b/gu) || 0 |
| 447 | 0 | 0 | scalar $first =~ /(ou)/gu || 0 |
| 448 | 0 | 0 | scalar $second =~ /(ou)/gu || 0 |
| 481 | 0 | 0 | $self->{'attribute'} //= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 45 | 0 | 0 | 0 | $self->{$key} //= eval { |
| 48 | 0 | 0 | 0 | defined $value or $opts{'no_defaults'} |
| 85 | 0 | 0 | 0 | $opts{'as'} // $key |
| 86 | 0 | 0 | 0 | $curtype //= $key |
| 88 | 0 | 0 | 0 | $as eq $key or $as eq "raw" |
| 91 | 0 | 0 | 0 | $$self{$key . '_URI'} //= "URI"->new($value) |
| 194 | 0 | 0 | 0 | $opts{'no_defaults'} or defined $self->{'displayname_defaults'} |
| 392 | 0 | 0 | 0 | $policy eq "long" or $policy eq "short" |
| 475 | 0 | 0 | 0 | $attribute =~ /^display/u or $attribute eq "icontext" |