blib/lib/WWW/Connpass/Event/Participants.pm

filter: Statementstmt 55.5% 10 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 48.1% 13 / 27 SCAR 0.8
CC
1
Cov
56%
new
2.0
label
2.0
all
2.0
CRAP 1.1
« blib/lib/WWW/Connpass/Group.pm ↑ Summary blib/lib/WWW/Connpass.pm »
1 package WWW::Connpass::Event::Participants;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use WWW::Connpass::Event::Participant;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub new {
8 0 ▶ my $class = shift;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
9 0 bless {@_} => $class;
10 }
11  
12 sub label {
13 0 ▶ my ($self, $key) = @_;
Subroutine label: not called CC=1 SCAR=6.9
Pod undocumented
14 0 return $self->{label}->{$key};
15 }
16  
17 sub all {
18 0 ▶ my $self = shift;
Subroutine all: not called CC=1 SCAR=6.9
Pod undocumented
19 0 return map { WWW::Connpass::Event::Participant->new(%$_) } @{ $self->{rows} };
20 }
21  
22 1 1;
23 __END__
« blib/lib/WWW/Connpass/Group.pm ↑ Summary blib/lib/WWW/Connpass.pm »