TOC/Types/Internal.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 92.8% 26 / 28 CC 1 SCAR 0.2
CC
1
Cov
95%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TOC/Filter/Anon.pm ↑ Summary TOC.pm »
1 package Text::TOC::Types::Internal;
2 {
3 2 $Text::TOC::Types::Internal::VERSION = '0.10';
4 }
5  
6 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use MooseX::Types -declare => [
Subroutine BEGIN: called CC=1 SCAR=0.0
11 qw(
12 Filter
13 Node
14 )
15 2 ];
16  
17 2 ▶use MooseX::Types::Moose qw( CodeRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 2 role_type Filter, { role => 'Text::TOC::Role::Filter' };
20  
21 coerce Filter,
22 from CodeRef,
23 0 ▶ via { Text::TOC::Filter::Anon->new( code => $_ ) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
24  
25 2 role_type Node, { role => 'Text::TOC::Role::Node' };
26  
27 2 1;
28  
29 # ABSTRACT: Defines types specific to Text::TOC
30  
31  
32 __END__
« TOC/Filter/Anon.pm ↑ Summary TOC.pm »