| 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 | 11 | 11 | 60 | use strict; | |||
| 11 | 26 | ||||||
| 11 | 410 | ||||||
| 3 | 11 | 11 | 45 | use warnings; | |||
| 11 | 23 | ||||||
| 11 | 1606 | ||||||
| 4 | |||||||
| 5 | sub try { | ||||||
| 6 | 77 | 77 | 1 | 178 | my ($class, $d) = @_; | ||
| 7 | |||||||
| 8 | 77 | 100 | 199 | if ( $d->_contain('inoreader.com') ) { | |||
| 9 | 2 | 8 | my $h = { | ||||
| 10 | name => 'Inoreader', | ||||||
| 11 | is_bot => 1, | ||||||
| 12 | }; | ||||||
| 13 | |||||||
| 14 | 2 | 5 | return $h; | ||||
| 15 | } | ||||||
| 16 | } | ||||||
| 17 | |||||||
| 18 | 1; | ||||||
| 19 | |||||||
| 20 | __END__ |