File Coverage

blib/lib/Duadua/Parser/Bot/Inoreader.pm
Criterion Covered Total %
statement 10 10 100.0
branch 2 2 100.0
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Duadua::Parser::Bot::Inoreader;
2 6     6   34 use strict;
  6         14  
  6         153  
3 6     6   26 use warnings;
  6         13  
  6         488  
4              
5             sub try {
6 68     68 1 143 my ($class, $d) = @_;
7              
8 68 100       162 if ( index($d->ua, 'inoreader.com') > -1 ) {
9 2         7 my $h = {
10             name => 'Inoreader',
11             is_bot => 1,
12             };
13              
14 2         7 return $h;
15             }
16             }
17              
18             1;
19              
20             __END__