Condition Coverage

blib/lib/PFT/Map.pm
Criterion Covered Total %
condition 14 27 51.8


and 3 conditions

line !l l&&!r l&&r condition
123 0 4 21 $cntnt and $cntnt->isa('PFT::Content::Entry')
4 4 17 $cntnt and $cntnt->isa('PFT::Content::Entry') and $cntnt->exists
309 2 4 7 defined $node->header and defined(my $date = $node->header->date)
426 0 0 0 --$n and defined $cursor
432 0 0 0 --$n and defined $cursor

or 3 conditions

line l !l&&r !l&&!r condition
95 0 11 0 not ref $resolved or $resolved->isa('PFT::Map::Node')
148 2 1 7 not defined $prev_month or $prev_month->date <=> $m_date
295 11 2 0 $node->title || do { do { my $cnt = $node->content; $cnt->isa('PFT::Content::Month') ? '' : ($cnt->isa('PFT::Content::Attachment') ? '' : ($cnt->isa('PFT::Content::Picture') ? '' : confess("what is $node?"))) } }
419 0 0 0 not defined $n or $n <= 0