| blib/lib/Web/Mention/Author.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 20 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 54 | 3 | 5 | unless ($h_entry) |
| 63 | 2 | 1 | if (not $author and $h_entry->parent and $h_entry->parent->has_type('h-feed')) |
| 74 | 2 | 2 | if (defined $author and &blessed($author) and $author->has_type('h-card')) |
| 84 | 2 | 1 | if (defined $author) |
| 87 | 0 | 0 | unless ($author_page->schema =~ /^http/) |
| 94 | 0 | 3 | if ($author and not $author_page) |
| 99 | 2 | 1 | if ($author_page) |
| 112 | 0 | 0 | if (&first(sub { |
| 126 | 0 | 0 | if (&first(sub { |
| 156 | 6 | 0 | if (defined $value and defined $value->[0]) |