| blib/lib/XML/Genx/SAXWriter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 4 | 3 | if (ref $self->_out eq 'SCALAR') { } |
| 1 | 2 | elsif (ref $self->_out eq 'GLOB') { } | |
| 1 | 1 | elsif (ref $self->_out eq 'CODE') { } | |
| 0 | 1 | elsif (ref $self->_out and $self->_out->isa('IO::Handle')) { } | |
| 1 | 0 | elsif (defined $self->_out and length $self->_out) { } | |
| 41 | 0 | 1 | unless open my $fh, '>', $self->_out |
| 52 | 4 | 3 | if (ref $self->_out eq 'SCALAR') |
| 74 | 2 | 6 | unless $$data{'Attributes'} |
| 125 | 7 | 49 | if (@_) { } |
| 135 | 8 | 29 | if (@_) { } |
| 160 | 7 | 8 | unless $nsuri |
| 175 | 1 | 3 | if ($prefix) { } |