Bot/Object/Video.pm

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