blib/lib/CGI/State.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 24 | 79.1 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 1 | if (ref $cgi eq 'HASH') |
41 | 12 | 6 | $words[$w + 1] =~ /\D/ ? : |
12 | 18 | !defined($words[$w + 1]) ? : | |
51 | 12 | 12 | $over_write ? : |
0 | 6 | $over_write ? : | |
24 | 6 | $ref eq 'HASH' ? : | |
74 | 7 | 12 | if (my $ref = ref $state) { } |
12 | 0 | elsif (defined $state and $param ne '') { } | |
77 | 0 | 7 | unless ($ref eq 'HASH' or $ref eq 'ARRAY') |
81 | 1 | 6 | if ($ref eq 'ARRAY') { } |
6 | 0 | elsif ($ref eq 'HASH') { } | |
91 | 5 | 1 | unless $param eq '' |