Bot/Object/MessageEntity.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 83.3% 15 / 18 CC 1 SCAR 2.9
CC
1
Cov
93%
fields
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Bot/Object/Game.pm ↑ Summary Bot/Object/Venue.pm »
1 package Telegram::Bot::Object::MessageEntity;
2 5 $Telegram::Bot::Object::MessageEntity::VERSION = '0.029';
3 # ABSTRACT: The base class for Telegram 'MessageEntity' 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::User;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 5 has 'type';
10 5 has 'offset';
11 5 has 'length';
12 5 has 'url';
13 5 has 'user'; #User
14  
15 0 ▶sub fields {
Subroutine fields: not called CC=1 SCAR=6.9
Pod undocumented
16 return {
17 0 'scalar' => [qw/type offset length url/],
18 'Telegram::Bot::Object::User' => [qw/user/],
19 };
20 }
21  
22 5 1;
23  
24 __END__
« Bot/Object/Game.pm ↑ Summary Bot/Object/Venue.pm »