File Coverage

blib/lib/Test/BrewBuild/Plugin/UnitTestPluginInst.pm
Criterion Covered Total %
statement 4 4 100.0
branch 1 2 50.0
condition n/a
subroutine 1 1 100.0
pod 0 1 0.0
total 6 8 75.0


line stmt bran cond sub pod time code
1             package Test::BrewBuild::Plugin::UnitTestPluginInst;
2              
3             sub brewbuild_exec {
4 1     1 0 74 shift;
5 1         2 my $arg = shift;
6 1 50       4 return $arg if defined $arg;
7 1         6 return "test plugin";
8             }
9             1;