Bot/Object/Game.pm

filter: Statementstmt 90.9% 20 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 50.0% 1 / 2 totaltotal 83.3% 25 / 30 CC 1 SCAR 2.9
CC
1
Cov
91%
fields
2.0
arrays
2.0
BEGIN
1.0
CRAP 1.3
« Bot/Object/Document.pm ↑ Summary Bot/Object/MessageEntity.pm »
1 package Telegram::Bot::Object::Game;
2 5 $Telegram::Bot::Object::Game::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram message 'Game' type.
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 5 ▶use Telegram::Bot::Object::Animation;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 5 ▶use Telegram::Bot::Object::MessageEntity;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 5 has 'title';
12 5 has 'description';
13 5 has 'photo'; # Array of PhotoSize
14 5 has 'text';
15 5 has 'text_entities'; #Array of MessageEntity
16 5 has 'animation'; #Animation
17  
18 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
19 0 return { scalar => [qw/title description text/],
20 'Telegram::Bot::Object::PhotoSize' => [qw/photo/],
21 'Telegram::Bot::Object::MessageEntity' => [qw/text_entities/],
22 'Telegram::Bot::Object::Animation' => [qw/animation/],
23 };
24 }
25  
26 0 ▶sub arrays { qw/photo text_entities/ }
Subroutine arrays: not called CC=1 SCAR=6.9
Pod documented
27  
28 5 1;
29  
30 __END__
« Bot/Object/Document.pm ↑ Summary Bot/Object/MessageEntity.pm »