Branch Coverage

blib/lib/CGI/Push.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
41 1 2 unless $type
42 0 3 unless $callback and ref $callback eq 'CODE'
43 0 3 unless defined $delay
45 3 0 unless defined $nph
49 0 3 if defined $target
50 0 3 if defined $cookie
52 3 0 if $nph
54 3 0 if $nph
65 3 1 unless $type =~ /^dynamic|heterogeneous$/i
68 1 3 if (@contents and defined $contents[0]) { }
70 0 1 if $self->push_delay
72 2 1 if ($last_page and ref $last_page eq 'CODE')
74 0 2 if $self->push_delay
75 2 0 unless $type =~ /^dynamic|heterogeneous$/i
97 0 0 if ($delay >= 1 and not $delay =~ /\./) { }
106 4 4 defined $delay ? :