Hobohm/Types.pm

filter: Statementstmt 100% 16 / 16 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 2 SCAR 2.9
CC
2
Cov
100%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Hobohm.pm ↑ Summary
1 package String::Cluster::Hobohm::Types;
2 2 $String::Cluster::Hobohm::Types::VERSION = '0.141020';
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: Specific types for String::Cluster::Hobohm;
7  
8 2 ▶use MouseX::Types -declare => ['Quotient'];
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use MouseX::Types::Mouse 'Num';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 5 ▶subtype Quotient, as Num, where { $_ >= 0 && $_ <= 1 };
Subroutine __ANON__: called CC=2 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
$_ >= 0 and $_ <= 1 4 1 5
12  
13 2 1;
14  
15 __END__
« Hobohm.pm ↑ Summary