Branch Coverage

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


line true false branch
70 0 1 ref $_[0] ? :
71 1 0 defined $_[0] && -r $_[0] ? :
74 0 1 unless my $self = $class->SUPER::new
77 0 1 unless my $template = Path::Tiny::path($file)->slurp
78 0 1 unless $template =~ /\[%\s+tests\s+\%\]/
112 0 1 unless my $Inline = &_INSTANCE(shift(), 'Test::Inline')
113 0 1 unless my $Script = &_INSTANCE(shift(), 'Test::Inline::Script')
117 0 1 unless defined $content
121 1 0 defined $tests ? :