Branch Coverage

blib/lib/WebDAO/Response.pm
Criterion Covered Total %
branch 18 38 47.3


line true false branch
112 0 10 if ($name =~ /^-/) { }
4 6 elsif ($name eq 'Set-Cookie') { }
115 0 0 if ($UKey eq '-STATUS')
153 2 0 unless ($#_ > 0)
167 2 0 unless ($#_ > 0)
215 1 0 if (my $type = $types_for_ext{lc $ext})
218 0 0 $no_default_flag ? :
230 0 3 if $pnted
290 0 1 if (ref $file and UNIVERSAL::isa($file, 'IO::Handle') || ref $file eq 'GLOB' or UNIVERSAL::isa($file, 'Tie::Handle')) { }
298 0 1 unless $file_handle = 'IO::File'->new("< $file")
313 1 0 if (my $predefined = $args{-'type'}) { }
318 0 0 if ($file_name)
340 0 0 ref $res eq 'CODE' ? :
351 0 2 if $self->_is_flushed
355 1 1 if ($self->_is_file_send)
358 1 0 if $self->_is_need_close_fh
394 0 0 if @_
455 1 5 if (@_ > 1)
464 3 2 if (scalar @_ == 1)