| blib/lib/Text/KDL/XS/Value.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 26 | 30.7 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 0 | 0 | unless defined $args{'type'} |
| 44 | 0 | 0 | if $self->{'type'} eq "null" |
| 46 | 0 | 0 | $self->{'value'} ? : |
| 0 | 0 | $self->{'type'} eq 'bool' ? : | |
| 0 | 0 | if $self->{'type'} ne "number" | |
| 47 | 0 | 0 | if defined $self->{'kind'} and $self->{'kind'} ne "string" |
| 54 | 0 | 15 | if $self->{'type'} eq "null" |
| 55 | 0 | 0 | $self->{'value'} ? : |
| 0 | 15 | if $self->{'type'} eq "bool" | |
| 56 | 15 | 0 | defined $self->{'value'} ? : |
| 67 | 0 | 28 | if $t eq "null" |
| 68 | 2 | 2 | $self->{'value'} ? : |
| 4 | 24 | if $t eq "bool" |