Stack/Message.pm

filter: Statementstmt 91.6% 22 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 87.1% 27 / 31 CC 1 SCAR 1.5
CC
1
Cov
92%
has_id
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Stack.pm ↑ Summary Stack/Types.pm »
1 package Message::Stack::Message;
2 4 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 $Message::Stack::Message::VERSION = '0.22';
4 }
5 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 # ABSTRACT: Message!
8  
9 4 ▶use MooseX::Aliases;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 ▶use MooseX::Storage;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 4 with 'MooseX::Storage::Deferred';
13  
14  
15 4 has msgid => (
16 is => 'rw',
17 isa => 'Maybe[Str]',
18 predicate => 'has_msgid',
19 alias => 'id'
20 );
21  
22  
23 4 has level => (
24 is => 'rw',
25 isa => 'Maybe[Str]',
26 predicate => 'has_level'
27 );
28  
29  
30 4 has params => (
31 is => 'rw',
32 isa => 'ArrayRef',
33 predicate => 'has_params'
34 );
35  
36  
37 4 has scope => (
38 is => 'rw',
39 isa => 'Maybe[Str]',
40 predicate => 'has_scope'
41 );
42  
43  
44 4 has subject => (
45 is => 'rw',
46 isa => 'Maybe[Str]',
47 predicate => 'has_subject'
48 );
49  
50  
51 4 has text => (
52 is => 'rw',
53 isa => 'Maybe[Str]',
54 predicate => 'has_text'
55 );
56  
57 0 ▶sub has_id {
Subroutine has_id: not called CC=1 SCAR=6.9
Pod undocumented
58 0 my ($self) = @_;
59  
60 0 return $self->has_msgid;
61 }
62  
63 4 __PACKAGE__->meta->make_immutable;
64 4 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
65 4 1;
66 __END__
« Stack.pm ↑ Summary Stack/Types.pm »