| blib/lib/Bio/Phylo/NeXML/Writable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 34 | 38.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 68 | 218 | 0 | 25 | scalar @_ == 1 and ref $_[0] eq 'HASH' |
| 181 | 0 | 0 | 0 | $meta{$id} and @{$meta{$id};} |
| 223 | 0 | 109 | 0 | $meta and @{$meta;} |
| 329 | 14343 | 0 | 0 | scalar @_ == 1 and ref $_[0] eq 'HASH' |
| 343 | 0 | 1496 | 0 | $prefix ne 'xmlns' and not exists $namespaces{$prefix} |
| 443 | 80 | 0 | 29 | $attrs and &looks_like_instance($attrs, 'HASH') |
| 724 | 15014 | 0 | 0 | defined $self->is_identifiable and not $self->is_identifiable |
| 729 | 0 | 15014 | 0 | not @{$self->get_meta;} and $attrs->{'about'} |
| line | l | !l | condition |
|---|---|---|---|
| 338 | 3145 | 11198 | $attributes{$id} || {} |
| 528 | 2542 | 65310 | $meta{$self->get_id} || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 867 | 0 | 0 | 0 | $dom ||= 'Bio::Phylo::NeXML::DOM'->get_dom |
| 1013 | 0 | 0 | 0 | $dom ||= 'Bio::Phylo::NeXML::DOM'->get_dom |