File Coverage

blib/lib/String/Cluster/Hobohm/Types.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package String::Cluster::Hobohm::Types;
2             $String::Cluster::Hobohm::Types::VERSION = '0.141020';
3 2     2   12 use strict;
  2         3  
  2         75  
4 2     2   11 use warnings;
  2         4  
  2         72  
5              
6             # ABSTRACT: Specific types for String::Cluster::Hobohm;
7              
8 2     2   1676 use MouseX::Types -declare => ['Quotient'];
  2         2119  
  2         15  
9 2     2   2303 use MouseX::Types::Mouse 'Num';
  2         563  
  2         12  
10              
11             subtype Quotient, as Num, where { $_ >= 0 && $_ <= 1 };
12              
13             1;
14              
15             __END__