File Coverage

blib/lib/Articulate/Sortation/Numeric.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 16 75.0


line stmt bran cond sub pod time code
1             package Articulate::Sortation::Numeric;
2 1     1   1149 use strict;
  1         3  
  1         48  
3 1     1   7 use warnings;
  1         2  
  1         37  
4              
5 1     1   6 use Moo;
  1         3  
  1         110  
6             with 'Articulate::Role::Sortation::AllYouNeedIsCmp';
7              
8             sub cmp {
9 0     0 0   my $self = shift;
10 0           return ( $_[0] <=> $_[1] );
11             }
12              
13             1;