Branch Coverage

blib/lib/CGI/Capture.pm
Criterion Covered Total %
branch 20 58 34.4


line true false branch
139 0 5 ref $_[0] ? :
150 0 1 ref $_[0] ? :
151 1 0 unless defined $_[0]
152 0 0 -f $_[0] ? :
183 0 0 ref $_[0] ? :
188 0 0 if ($any_CODE_refs and not $CGI::Capture::DEPARSE)
213 0 0 ref $_[0] ? :
216 0 0 if _INSTANCE $self, $class
261 0 2 unless (_INSTANCE $yaml, 'YAML::Tiny')
264 0 2 unless (_HASH0($$yaml[0]))
273 2 0 if (exists $$self{'STDIN'})
345 1 1 ref $_[0] ? :
359 0 2 if (-t STDIN) { }
428 1 0 ref $_[0] ? :
429 0 1 unless $$self{'CAPTURE_TIME'}
432 1 0 if (exists $$self{'ENV'})
437 0 1 if (exists $$self{'ARGV'})
442 1 0 if (exists $$self{'STDIN'})
447 0 1 if (exists $$self{'INC'})
452 0 1 if (exists $$self{'OUTPUT_AUTOFLUSH'})
455 0 1 if (exists $$self{'PROGRAM_NAME'})
477 10 0 defined $_[0] ? :
478 10 0 unless (exists $$self{$name})
483 0 0 unless (defined $$self{$name} or defined $value)
486 0 0 if (defined $$self{$name} and defined $value)
487 0 0 if $$self{$name} eq $value
491 0 0 defined $value ? :
492 0 0 defined $$self{$name} ? :
499 4 0 _SCALAR0($_[0]) ? :