blib/lib/Thrift/Parser/Type/bool.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
23 | 0 | 1 | $_[0]->value ? : |
33 | 2 | 0 | if (ref $value and blessed $value and $value->isa('JSON::XS::Boolean')) |
34 | 1 | 1 | $value == &JSON::XS::true() ? : |
46 | 2 | 1 | $_[0]->value ? : |
54 | 2 | 1 | $_[0]->value ? : |
58 | 0 | 1 | $self->value ? : |