| blib/lib/Bio/Phylo/NeXML/Writable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 34 | 35.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 67 | 218 | 0 | 25 | scalar @_ == 1 and ref $_[0] eq 'HASH' |
| 180 | 0 | 0 | 0 | $meta{$id} and @{$meta{$id};} |
| 222 | 0 | 109 | 0 | $meta and @{$meta;} |
| 328 | 15558 | 0 | 0 | scalar @_ == 1 and ref $_[0] eq 'HASH' |
| 342 | 0 | 1496 | 0 | $prefix ne 'xmlns' and not exists $namespaces{$prefix} |
| 442 | 0 | 0 | 109 | $attrs and &looks_like_instance($attrs, 'HASH') |
| 723 | 15014 | 0 | 0 | defined $self->is_identifiable and not $self->is_identifiable |
| 728 | 0 | 15014 | 0 | not @{$self->get_meta;} and $attrs->{'about'} |
| line | l | !l | condition |
|---|---|---|---|
| 337 | 3145 | 12413 | $attributes{$id} || {} |
| 527 | 2542 | 59535 | $meta{$self->get_id} || [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 866 | 0 | 0 | 0 | $dom ||= 'Bio::Phylo::NeXML::DOM'->get_dom |
| 1012 | 0 | 0 | 0 | $dom ||= 'Bio::Phylo::NeXML::DOM'->get_dom |