Branch Coverage

blib/lib/Mojolicious/Plugin/LinkEmbedder/Link/Text/Github.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
28 0 0 if $e = $dom->at('title')
32 0 0 unless $text =~ /\w/
38 0 0 if ($self->url->path =~ m[/commit]) { }
0 0 elsif ($self->url->path =~ m[/(?:issue|pull)]) { }
39 0 0 if $e = $dom->at('img.avatar') and $$e{'src'}
40 0 0 if $e = $dom->at('.commit-title')
41 0 0 if $e = $dom->at('.commit-meta .authorship')
44 0 0 if $e = $dom->at('img.timeline-comment-avatar') and $$e{'src'}
45 0 0 if $e = $dom->at('.js-issue-title')
46 0 0 if $e = eval { do { $dom->at('#partial-discussion-header a.author')->parent } }