Branch Coverage

blib/lib/maybe.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
57 1 31 unless $package
66 11 20 unless eval { do { require $file } }
71 7 13 if (defined $_[0] and $_[0] =~ /^\d/)
73 4 3 unless eval { do { $package->VERSION($version); 1 } }
82 1 15 if defined &$macro
87 3 4 if @_ == 1 and defined $_[0] and $_[0] eq ''
90 3 10 unless $method
98 1 14 if defined &$macro