Slack/Event/Bot.pm

filter: Statementstmt 66.6% 8 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod 0.0% 0 / 4 totaltotal 45.4% 10 / 22 CC 1 SCAR 5.1
CC
1
Cov
67%
id
2.0
app_id
2.0
name
2.0
CRAP 1.7
« Slack/Event/WorkflowStepEdit.pm ↑ Summary Slack/Event/AppUninstalled.pm »
1 package Net::Async::Slack::Event::Bot;
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 our $VERSION = '0.015'; # VERSION
7  
8 =head1 DESCRIPTION
9  
10 {
11 "type": "bot_added",
12 "bot": {
13 "id": "B024BE7LH",
14 "app_id": "A4H1JB4AZ",
15 "name": "hugbot",
16 "icons": {
17 "image_48": "url here"
18 }
19 }
20 }
21  
22 =cut
23  
24 0 ▶sub id { shift->{bot}{id} }
Subroutine id: not called CC=1 SCAR=6.9
Pod undocumented
25  
26 0 ▶sub app_id { shift->{bot}{app_id} }
Subroutine app_id: not called CC=1 SCAR=6.9
Pod undocumented
27  
28 0 ▶sub name { shift->{bot}{name} }
Subroutine name: not called CC=1 SCAR=6.9
Pod undocumented
29  
30 0 ▶sub icons { shift->{bot}{icons} }
Subroutine icons: not called CC=1 SCAR=6.9
Pod undocumented
31  
32 6 1;
33  
34  
« Slack/Event/WorkflowStepEdit.pm ↑ Summary Slack/Event/AppUninstalled.pm »