Bot/Object/VideoNote.pm

filter: Statementstmt 93.3% 14 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 84.2% 16 / 19 CC 1 SCAR 2.9
CC
1
Cov
93%
fields
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Bot/Object/Venue.pm ↑ Summary Bot/Object/Video.pm »
1 package Telegram::Bot::Object::VideoNote;
2 5 $Telegram::Bot::Object::VideoNote::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram 'VideoNote' type objects
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  
9 5 has 'file_id';
10 5 has 'length';
11 5 has 'duration';
12 5 has 'mime_type';
13 5 has 'thumb'; #PhotoSize
14 5 has 'file_size';
15  
16 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
17 0 return { scalar => [qw/file_id length duration mime_type file_size/],
18 'Telegram::Bot::Object::PhotoSize' => [qw/thumb /],
19  
20 };
21 }
22  
23 5 1;
24  
25 __END__
« Bot/Object/Venue.pm ↑ Summary Bot/Object/Video.pm »