script/jupiter | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 44 | 79.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
572 | 33 | 1 | 1 | @filters > 0 and not grep({$title =~ /$_/u unless $url =~ /$_/u;} @filters) |
640 | 4 | 1 | 10 | $feed_date and 'DateTime'->compare($feed_date, $date) == -1 |
797 | 16 | 5 | 2 | $content->hasAttribute('type') && $content->getAttribute('type') eq 'xhtml' |
line | l | !l | condition |
---|---|---|---|
330 | 0 | 0 | $command ||= 'help' |
482 | 18 | 0 | $html || 'index.html' |
753 | 0 | 0 | xml_escape($xpc->findvalue('/rss/channel/title | /atom:feed/atom:title', $feed->{'doc'})) || $feed->{'title'} || '' |
754 | 15 | 0 | xml_escape($xpc->findvalue('/atom:feed/atom:link[@rel="self"]/@href', $feed->{'doc'})) || $feed->{'url'} || '' |
756 | 13 | 4 | $feed->{'link'} || xml_escape($xpc->findvalue('/rss/channel/link | /atom:feed/atom:link[@rel="alternate"][@type="text/html"]/@href', $feed->{'doc'})) || '' |
767 | 26 | 3 | $xpc->findvalue('title | atom:title', $element) || 'Untitled' |
771 | 12 | 17 | shift @links || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
410 | 1 | 8 | 12 | $feed->{'link'} ||= $data->{$url}{'link'} |
487 | 0 | 18 | 0 | $template ||= dist_file('App-jupiter', 'template.html') |
615 | 29 | 5 | 0 | updated($_) || $undefined_date |
661 | 40 | 57 | 2 | eval { |
676 | 12 | 4 | 18 | $id ||= $node->findvalue('link') |
677 | 16 | 11 | 7 | $id ||= $node->findvalue('title') |
678 | 27 | 2 | 5 | $id ||= $node->findvalue('description') |