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