Bot/Object/Animation.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 88.0% 22 / 25 CC 1 SCAR 2.2
CC
1
Cov
95%
fields
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Bot/Object/Chat.pm ↑ Summary Bot/Object/InlineKeyboardButton.pm »
1 package Telegram::Bot::Object::Animation;
2 5 $Telegram::Bot::Object::Animation::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram message 'Animation' type.
4  
5  
6 5 ▶use Mojo::Base 'Telegram::Bot::Object::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 5 ▶use Telegram::Bot::Object::PhotoSize;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use Carp qw/croak/;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 5 has 'file_id';
11 5 has 'width';
12 5 has 'height';
13 5 has 'duration';
14 5 has 'thumb'; #PhotoSize
15 5 has 'file_name';
16 5 has 'mime_type';
17 5 has 'file_size';
18  
19 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
20 0 return { scalar => [qw/file_id width height duration file_name mime_type file_size/],
21 'Telegram::Bot::Object::PhotoSize' => [qw/thumb/],
22 };
23 }
24  
25  
26 5 1;
27  
28 __END__
« Bot/Object/Chat.pm ↑ Summary Bot/Object/InlineKeyboardButton.pm »