Branch Coverage

blib/lib/CGI/Capture.pm
Criterion Covered Total %
branch 18 58 31.0


line true false branch
133 0 5 ref $_[0] ? :
144 0 0 ref $_[0] ? :
145 0 0 unless defined $_[0]
146 0 0 -f $_[0] ? :
177 0 0 ref $_[0] ? :
182 0 0 if ($any_CODE_refs and not $DEPARSE)
207 0 0 ref $_[0] ? :
210 0 0 if &_INSTANCE($self, $class)
255 0 2 unless (&_INSTANCE($yaml, "YAML::Tiny"))
258 0 2 unless (&_HASH0($yaml->[0]))
267 2 0 if (exists $self->{'STDIN'})
339 1 1 ref $_[0] ? :
353 0 2 if (-t STDIN) { }
422 1 0 ref $_[0] ? :
423 0 1 unless $self->{'CAPTURE_TIME'}
426 1 0 if (exists $self->{'ENV'})
431 0 1 if (exists $self->{'ARGV'})
436 1 0 if (exists $self->{'STDIN'})
441 0 1 if (exists $self->{'INC'})
446 0 1 if (exists $self->{'OUTPUT_AUTOFLUSH'})
449 0 1 if (exists $self->{'PROGRAM_NAME'})
471 10 0 defined $_[0] ? :
472 10 0 unless (exists $self->{$name})
477 0 0 unless (defined $self->{$name} or defined $value)
480 0 0 if (defined $self->{$name} and defined $value)
481 0 0 if $self->{$name} eq $value
485 0 0 defined $value ? :
486 0 0 defined $self->{$name} ? :
493 4 0 &_SCALAR0($_[0]) ? :