| blib/lib/Pg/SQL/PrettyPrinter/Node/TypeCast.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 63 | 0 | 62 | if (ref($self->{'arg'}) =~ /\APg::SQL::PrettyPrinter::Node::(?:A_|Bool)Expr\z/u) |
| 68 | 24 | 38 | if ($typname eq "pg_catalog.bool") |
| 69 | 10 | 14 | if $arg eq "'t'" |
| 70 | 2 | 12 | if $arg eq "'f'" |
| 73 | 2 | 48 | if (exists $self->{'typeName'}{'typmods'}) |
| 76 | 12 | 38 | if (exists $self->{'typeName'}{'arrayBounds'}) |
| 79 | 12 | 0 | if $array_def eq "[-1]" |