blib/lib/Dist/Zilla/Stash/User.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 95.2% 20 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Dist/Zilla/Stash/PAUSE.pm ↑ Summary blib/lib/Dist/Zilla/Role/ExecFiles.pm »
1 package Dist::Zilla::Stash::User 6.040;
2 # ABSTRACT: a stash of user name and email
3  
4 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 has name => (
11 is => 'ro',
12 isa => 'Str',
13 required => 1,
14 );
15  
16 3 has email => (
17 is => 'ro',
18 isa => 'Str',
19 required => 1,
20 );
21  
22 1 ▶sub authors {
Subroutine authors: called CC=1 SCAR=0.0
Pod undocumented
23 1 my ($self) = @_;
24 1 return [ sprintf "%s <%s>", $self->name, $self->email ];
25 }
26  
27 3 with 'Dist::Zilla::Role::Stash::Authors';
28 3 __PACKAGE__->meta->make_immutable;
29 3 1;
30  
31 __END__
« blib/lib/Dist/Zilla/Stash/PAUSE.pm ↑ Summary blib/lib/Dist/Zilla/Role/ExecFiles.pm »