File Coverage

blib/lib/LINE/Bot/API/Event/Postback.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 2 0.0
total 16 18 88.8


line stmt bran cond sub pod time code
1             package LINE::Bot::API::Event::Postback;
2 47     47   299 use strict;
  47         90  
  47         1348  
3 47     47   225 use warnings;
  47         89  
  47         1250  
4 47     47   224 use parent 'LINE::Bot::API::Event::Base';
  47         1102  
  47         331  
5              
6 1     1 0 3062 sub is_postback_event { 1 }
7              
8 1     1 0 6 sub postback_data { $_[0]->{postback}{data} }
9              
10             1;