Branch Coverage

blib/lib/Test/Inline/Content/Simple.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
76 0 1 ref $_[0] ? :
77 1 0 defined $_[0] && -r $_[0] ? :
80 0 1 unless my $self = $class->SUPER::new
83 0 1 unless my $template = File::Slurp::read_file($file)
84 0 1 unless $template =~ /\[%\s+tests\s+\%\]/
118 0 1 unless my $Inline = _INSTANCE(shift(), 'Test::Inline')
119 0 1 unless my $Script = _INSTANCE(shift(), 'Test::Inline::Script')
123 0 1 unless defined $content
127 1 0 defined $tests ? :