| blib/lib/XML/SAX/ParserFactory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 8 | 4 | unless (ref $self) |
| 32 | 1 | 10 | if ($parser_class =~ s/\s*\(([\d\.]+)\)\s*$//) |
| 36 | 1 | 10 | unless ($parser_class->can('new')) |
| 38 | 0 | 1 | if $@ |
| 55 | 2 | 10 | if ($XML::SAX::ParserPackage) |
| 60 | 2 | 8 | if ($self->{'RequiredFeatures'}) |
| 68 | 1 | 1 | unless (exists $parser->{'Features'}{$feature}) |
| 84 | 5 | 88 | if (open $fh, "$dir/SAX.ini") |
| 87 | 2 | 3 | if ($params->{'ParserPackage'}) { } |
| 95 | 2 | 2 | unless (exists $parser->{'Features'}{$feature}) |
| 107 | 4 | 0 | if (@{$self->{'KnownParsers'};}) { } |