File Coverage

blib/lib/WebService/Slack/WebApi/Stars.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package WebService::Slack::WebApi::Stars;
2 3     3   2170 use strict;
  3         9  
  3         89  
3 3     3   16 use warnings;
  3         6  
  3         74  
4 3     3   16 use utf8;
  3         5  
  3         15  
5              
6 3     3   73 use parent 'WebService::Slack::WebApi::Base';
  3         6  
  3         14  
7              
8             use WebService::Slack::WebApi::Generator (
9 3         80     add => {
10                     channel => { isa => 'Str', optional => 1 },
11                     file => { isa => 'Str', optional => 1 },
12                     file_comment => { isa => 'Str', optional => 1 },
13                     timestamp => { isa => 'Str', optional => 1 },
14                 },
15                 list => {
16                     count => { isa => 'Int', optional => 1 },
17                     page => { isa => 'Int', optional => 1 },
18                 },
19                 remove => {
20                     channel => { isa => 'Str', optional => 1 },
21                     file => { isa => 'Str', optional => 1 },
22                     file_comment => { isa => 'Str', optional => 1 },
23                     timestamp => { isa => 'Str', optional => 1 },
24                 },
25 3     3   421 );
  3         8  
26              
27             1;
28              
29