lib/Bb/Collaborate/Ultra/Session/Log/Attendees.pm

filter: Statementstmt 88.4% 23 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod n/a totaltotal 84.8% 28 / 33 CC 1 SCAR 1.7
CC
1
Cov
88%
__ANON__
2.0
__ANON__
1.3
BEGIN
1.0
CRAP 1.2
« lib/Bb/Collaborate/Ultra/Session/Log/Attendance.pm ↑ Summary lib/Bb/Collaborate/Ultra/Session/Occurrence.pm »
1 package Bb::Collaborate::Ultra::Session::Log::Attendees;
2 1 ▶use warnings; use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 extends 'Bb::Collaborate::Ultra::DAO';
5 1 ▶use Bb::Collaborate::Ultra::Session::Log::Attendee;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Mouse::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 subtype 'ArrayOfAttendees',
9 as 'ArrayRef[Bb::Collaborate::Ultra::Session::Log::Attendee]';
10  
11 coerce 'ArrayOfAttendees',
12 from 'ArrayRef[HashRef]',
13 0 ▶ via { [ map {Bb::Collaborate::Ultra::Session::Log::Attendee->new($_)} (@$_) ] };
Subroutine __ANON__: not called CC=1 SCAR=2.6
14  
15 1 has 'results' => (isa => 'ArrayOfAttendees', is => 'rw', coerce => 1);
16  
17 =head1 NAME
18  
19 Bb::Collaborate::Ultra::Session::Log::Attendees
20  
21 =head1 DESCRIPTION
22  
23 Session Attendee report.
24  
25 =head1 METHODS
26  
27 See L<https://xx-csa.bbcollab.com/documentation#Attendee-collection>
28  
29 =cut
30  
31 coerce __PACKAGE__, from 'HashRef' => via {
32 0 ▶ __PACKAGE__->new( $_ )
Subroutine __ANON__: not called CC=1 SCAR=6.9
33 1 };
34
35 1 __PACKAGE__->resource('attendees');
36 1 __PACKAGE__->load_schema(<DATA>);
37 1 1;
38 # downloaded from https://xx-csa.bbcollab.com/documentation
39 __DATA__
« lib/Bb/Collaborate/Ultra/Session/Log/Attendance.pm ↑ Summary lib/Bb/Collaborate/Ultra/Session/Occurrence.pm »