Bot/Object/PassportData.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 50.0% 1 / 2 totaltotal 77.2% 17 / 22 CC 1 SCAR 3.4
CC
1
Cov
87%
fields
2.0
arrays
2.0
BEGIN
1.0
CRAP 1.4
« Bot/Object/ChatMemberUpdated.pm ↑ Summary Bot/Object/ChatJoinRequest.pm »
1 package Telegram::Bot::Object::PassportData;
2 5 $Telegram::Bot::Object::PassportData::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram 'PassportData' 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::EncryptedPassportElement;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use Telegram::Bot::Object::EncryptedCredentials;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 5 has 'data'; # Array of EncryptedPassportElement
11 5 has 'credentials'; # EncryptedCredentials
12  
13 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
14 0 return { 'Telegram::Bot::Object::EncryptedPassportElement' => [qw/data/],
15 'Telegram::Bot::Object::EncryptedCredentials' => [qw/credentials/],
16 };
17 }
18 0 ▶sub arrays {
Subroutine arrays: not called CC=1 SCAR=6.9
Pod documented
19 0 qw/data/;
20 }
21  
22 5 1;
23  
24 __END__
« Bot/Object/ChatMemberUpdated.pm ↑ Summary Bot/Object/ChatJoinRequest.pm »