blib/lib/Web/Mention.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 21 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
181 | 0 | 0 | 1 | &blessed($request) and $request->can('param') |
326 | 8 | 0 | 1 | $self->rsvp_type and $self->_check_url_property($item, 'in-reply-to') |
415 | 25 | 0 | 3 | &blessed($url_prop) and $url_prop->isa('Web::Microformats2::Item') |
493 | 1 | 0 | 1 | $relation and $relation eq 'webmention' |
540 | 1 | 1 | 1 | $entry and $name |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
240 | 21 | 1 | 2 | $response->content =~ $self->target or $response->content =~ uri_escape($self->target) |
518 | 1 | 0 | 5 | lc $host eq 'localhost' or $host =~ /^127\.\d+\.\d+\.\d+$/ |