blib/lib/PFT/Map.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 27 | 74.0 |
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 | 1 | 1 | 8 | $n-- and defined $cursor |
432 | 5 | 0 | 10 | --$n and defined $cursor |
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') ? ' |
419 | 0 | 0 | 7 | not defined $n or $n <= 0 |