Bot/Object/EncryptedPassportElement.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/Contact.pm ↑ Summary Bot/Object/LoginUrl.pm »
1 package Telegram::Bot::Object::EncryptedPassportElement;
2 5 $Telegram::Bot::Object::EncryptedPassportElement::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram 'EncryptedPassportElement' type objects
4  
5  
6 5 ▶use Mojo::Base 'Telegram::Bot::Object::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # XXX Implement rest of this
9 # https://core.telegram.org/bots/api#encryptedpassportelement
10  
11 5 has 'type';
12 5 has 'data';
13 5 has 'phone_number';
14 5 has 'email';
15  
16 # XXX more here
17  
18 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
19 0 return { 'scalar' => [qw/type data phone_number email/] };
20 }
21  
22 5 1;
23  
24 __END__
« Bot/Object/Contact.pm ↑ Summary Bot/Object/LoginUrl.pm »