Bot/Object/Voice.pm

filter: Statementstmt 90.0% 9 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 0.0% 0 / 1 totaltotal 76.9% 10 / 13 CC 1 SCAR 4.1
CC
1
Cov
90%
fields
2.0
BEGIN
1.0
CRAP 1.5
« Bot/Object/LoginUrl.pm ↑ Summary Bot/Object/Invoice.pm »
1 package Telegram::Bot::Object::Voice;
2 5 $Telegram::Bot::Object::Voice::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram 'Voice' type objects
4  
5  
6 5 ▶use Mojo::Base 'Telegram::Bot::Object::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 5 has 'file_id';
9 5 has 'duration';
10 5 has 'mime_type';
11 5 has 'file_size';
12  
13 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
14 0 return { scalar => [qw/file_id duration mime_type file_size/]
15 };
16 }
17  
18 5 1;
19  
20 __END__
« Bot/Object/LoginUrl.pm ↑ Summary Bot/Object/Invoice.pm »