| script/jupiter | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 35 | 44 | 79.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 572 | 35 | 1 | 1 | @filters > 0 and not grep({$title =~ /$_/u unless $url =~ /$_/u;} @filters) |
| 642 | 4 | 1 | 11 | $feed_date and "DateTime"->compare($feed_date, $date) == -1 |
| 799 | 16 | 5 | 2 | $content->hasAttribute('type') && $content->getAttribute('type') eq 'xhtml' |
| line | l | !l | condition |
|---|---|---|---|
| 330 | 0 | 0 | $command ||= "help" |
| 482 | 19 | 0 | $html || 'index.html' |
| 755 | 0 | 0 | xml_escape($xpc->findvalue('/rss/channel/title | /atom:feed/atom:title', $feed->{'doc'})) || $feed->{'title'} || '' |
| 756 | 16 | 0 | xml_escape($xpc->findvalue('/atom:feed/atom:link[@rel="self"]/@href', $feed->{'doc'})) || $feed->{'url'} || '' |
| 758 | 13 | 5 | $feed->{'link'} || xml_escape($xpc->findvalue('/rss/channel/link | /atom:feed/atom:link[@rel="alternate"][@type="text/html"]/@href', $feed->{'doc'})) || '' |
| 769 | 27 | 3 | $xpc->findvalue('title | atom:title', $element) || 'Untitled' |
| 773 | 12 | 18 | shift @links || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 410 | 1 | 8 | 13 | $feed->{'link'} ||= $data->{$url}{'link'} |
| 487 | 0 | 19 | 0 | $template ||= dist_file("App-jupiter", "template.html") |
| 616 | 35 | 5 | 0 | updated($_) || $undefined_date |
| 663 | 47 | 57 | 2 | eval { |
| 678 | 12 | 4 | 24 | $id ||= $node->findvalue("link") |
| 679 | 16 | 11 | 13 | $id ||= $node->findvalue("title") |
| 680 | 27 | 2 | 11 | $id ||= $node->findvalue("description") |