Branch Coverage

script/jupiter
Criterion Covered Total %
branch 58 84 69.0


line true false branch
328 0 0 if $log_level
331 0 0 if ($command eq 'update') { }
0 0 elsif ($command eq 'html') { }
361 0 18 if $feed->{'etag'}
362 0 18 if $feed->{'last_modified'}
385 0 18 unless $tx
391 18 0 if $tx->result->is_success
392 0 18 if $@
404 14 23 unless -r "$filename.json"
408 0 22 unless $url
410 21 1 if $data->{$url}{'title'}
438 0 18 if (@unused)
449 18 0 if $dir and -d $dir
463 14 4 if ($dir and not -d $dir)
489 0 19 unless -r $template
495 19 0 if $feed
501 0 19 if $template
573 1 1 unless $url =~ /$_/u
1 36 if @filters > 0 and not grep({$title =~ /$_/u unless $url =~ /$_/u;} @filters)
584 0 37 unless @nodes
598 0 18 unless -r $feed->{'cache_file'}
600 0 18 unless ($doc)
607 2 16 unless (@nodes)
643 11 5 if ($feed_date and 'DateTime'->compare($feed_date, $date) == -1) { }
650 1 10 if "DateTime"->compare($entry->{'date'}, $date) >= 0
659 0 113 unless $node
660 7 106 unless my(@nodes) = $xpc->findnodes("pubDate | atom:published | atom:updated", $node)
677 0 40 unless $node
689 8 61 if $seen{$node->{'id'}}
754 0 18 unless $feed->{'doc'}
761 5 13 unless $feed->{'link'} =~ m[//]u
777 25 5 unless @authors
783 15 15 @authors ? :
784 5 25 if ('DateTime'->compare($entry->{'date'}, $undefined_date) == 0) { }
790 6 24 @categories ? :
794 10 20 unless @nodes
799 23 7 if ($content)
804 6 21 if $is_xhtml
813 0 23 unless $content
834 0 23 if $len > 500
845 0 47 unless $str
847 2 45 unless $doc