| blib/lib/Math/SymbolicX/ParserExtensionFactory.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 22 | 54.5 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 6 | if @_ % 2 |
| 28 | 0 | 3 | unless ref $args{$key} eq 'CODE' |
| 31 | 3 | 0 | unless (exists $$Functions{$key}) |
| 45 | 6 | 0 | unless defined $parser |
| 48 | 0 | 6 | unless (defined $parser) |
| 52 | 3 | 3 | if (not exists $$BeenUsedBefore{"$parser"}) |
| 53 | 3 | 0 | if ($parser->isa('Parse::RecDescent')) { } |
| 0 | 0 | elsif ($parser->isa('Math::Symbolic::Parser::Yapp')) { } | |
| 122 | 2 | 6 | if $string eq '' |
| 127 | 2 | 0 | if not ref $_[0] and $_[0] eq 'Math::SymbolicX::ParserExtensionFactory' |
| 129 | 0 | 2 | if @_ % 2 |