Mattermost/V4/API/Object/NewLogEntry.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 85.7% 12 / 14 CC 1 SCAR 2.9
CC
1
Cov
91%
_build_level
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Mattermost/V4/API/Object/ChannelStats.pm ↑ Summary Mattermost/V4/API/Resource/User.pm »
1 package WebService::Mattermost::V4::API::Object::NewLogEntry;
2  
3 # ABSTRACT: A new log entry item.
4  
5 12 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use Types::Standard qw(Maybe InstanceOf Int Str);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 12 extends 'WebService::Mattermost::V4::API::Object';
9 12 with 'WebService::Mattermost::V4::API::Object::Role::Message';
10  
11 ################################################################################
12  
13 12 has level => (is => 'ro', isa => Maybe[Str], lazy => 1, builder => 1);
14  
15 ################################################################################
16  
17 0 ▶sub _build_level { shift->raw_data->{level} }
Subroutine _build_level: not called CC=1 SCAR=6.9
18  
19 ################################################################################
20  
21 12 1;
22  
23 __END__
24  
25 =pod
26  
27 =encoding UTF-8
28  
29 =head1 NAME
30  
31 WebService::Mattermost::V4::API::Object::NewLogEntry - A new log entry item.
32  
33 =head1 VERSION
34  
35 version 0.28
36  
37 =head1 DESCRIPTION
38  
39 Details a Mattermost NewLogEntry object.
40  
41 =head1 SEE ALSO
42  
43 =over 4
44  
45 =item L<WebService::Mattermost::V4::API::Object::Role::Message>
46  
47 =back
48  
49 =head1 AUTHOR
50  
51 Mike Jones <mike@netsplit.org.uk>
52  
53 =head1 COPYRIGHT AND LICENSE
54  
55 This software is Copyright (c) 2020 by Mike Jones.
56  
57 This is free software, licensed under:
58  
59 The MIT (X11) License
60  
61 =cut
« Mattermost/V4/API/Object/ChannelStats.pm ↑ Summary Mattermost/V4/API/Resource/User.pm »