Logfile/Util.pm

filter: Statementstmt 100% 7 / 7 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 2 SCAR 5.1
CC
2
Cov
100%
__ANON__
2.0
BEGIN
1.0
CRAP 1.7
« Logfile.pm ↑ Summary Logfile/Entry/32.pm »
1 package NetHack::Logfile::Util;
2 2 our $VERSION = '1.00';
3  
4 2 ▶use MooseX::Attributes::Curried (
Subroutine BEGIN: called CC=1 SCAR=0.0
5 33 ▶ field => sub {
Subroutine __ANON__: called CC=2 SCAR=6.9
6 33 ▶ return { } if /^\+/;
Branch: 1 branch
BranchTrueFalseTotal
if /^\+/ 1 32 33
7  
8 return {
9 32 is => 'ro',
10 isa => 'Str',
11 required => 1,
12 }
13 },
14 2 );
15  
16 2 1;
17  
« Logfile.pm ↑ Summary Logfile/Entry/32.pm »