Mattermost/V4/API/Object/TeamStats.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 4.1
CC
1
Cov
83%
_build_active_member_count
2.0
_build_total_member_count
2.0
BEGIN
1.0
CRAP 1.5
« Mattermost/V4/API/Resource/WebRTC.pm ↑ Summary Mattermost/V4/API/Object/User/Preference.pm »
1 package WebService::Mattermost::V4::API::Object::TeamStats;
2  
3 # ABSTRACT: Stats for a team.
4  
5 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use Types::Standard qw(Int Maybe);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 12 extends 'WebService::Mattermost::V4::API::Object';
9 12 with qw(
10 WebService::Mattermost::V4::API::Object::Role::BelongingToTeam
11 );
12  
13 ################################################################################
14  
15 12 has [ qw(
16 active_member_count
17 total_member_count
18 ) ] => (is => 'ro', isa => Maybe[Int], lazy => 1, builder => 1);
19  
20 ################################################################################
21  
22 0 ▶sub _build_active_member_count { shift->raw_data->{active_member_count} }
Subroutine _build_active_member_count: not called CC=1 SCAR=6.9
23 0 ▶sub _build_total_member_count { shift->raw_data->{total_member_count} }
Subroutine _build_total_member_count: not called CC=1 SCAR=6.9
24  
25 ################################################################################
26  
27 12 1;
28  
29 __END__
30  
31 =pod
32  
33 =encoding UTF-8
34  
35 =head1 NAME
36  
37 WebService::Mattermost::V4::API::Object::TeamStats - Stats for a team.
38  
39 =head1 VERSION
40  
41 version 0.28
42  
43 =head1 DESCRIPTION
44  
45 Details a Mattermost TeamStats object.
46  
47 =head2 ATTRIBUTES
48  
49 =over 4
50  
51 =item C<total_member_count>
52  
53 =item C<active_member_count>
54  
55 =back
56  
57 =head1 SEE ALSO
58  
59 =over 4
60  
61 =item L<WebService::Mattermost::V4::API::Object::Role::BelongingToUser>
62  
63 =item L<WebService::Mattermost::V4::API::Object::Role::BelongingToTeam>
64  
65 =back
66  
67 =head1 AUTHOR
68  
69 Mike Jones <mike@netsplit.org.uk>
70  
71 =head1 COPYRIGHT AND LICENSE
72  
73 This software is Copyright (c) 2020 by Mike Jones.
74  
75 This is free software, licensed under:
76  
77 The MIT (X11) License
78  
79 =cut
« Mattermost/V4/API/Resource/WebRTC.pm ↑ Summary Mattermost/V4/API/Object/User/Preference.pm »