File Coverage

lib/Perlmazing/Perlmazing/Precompile/is_integer.pm
Criterion Covered Total %
statement 3 6 50.0
branch 0 4 0.0
condition n/a
subroutine 1 2 50.0
pod n/a
total 4 12 33.3


line stmt bran cond sub pod time code
1 34     34   345 use Perlmazing qw(is_number);
  34         84  
  34         229  
2              
3             sub main ($) {
4 0 0   0     return unless is_number $_[0];
5 0 0         return unless int($_[0]) == $_[0];
6 0           1;
7             }
8              
9             1;