Branch Coverage

blib/lib/PFT/Map/Node.pm
Criterion Covered Total %
branch 39 58 67.2


line true false branch
68 0 25 unless $cont or $hdr
69 0 25 unless $cont->isa('PFT::Content::Base')
82 15 4 $cont->isa('PFT::Content::Entry') ? :
6 19 defined $hdr ? :
83 0 15 unless $cont->exists
127 50 0 $hdr ? :
163 2 11 unless (defined $hdr)
165 1 10 if (not defined $title and $self->content->isa('PFT::Content::Month')) { }
184 0 0 defined $hdr ? :
248 18 9 unless @_
257 10 13 if (@_) { }
258 5 8 exists $self->{'month'} ? :
261 0 10 unless eval { do { $self->{'hdr'}->date->complete } }
287 11 4 if ($node and $node->isa('PFT::Map::Node')) { }
291 0 4 if ref $node
302 14 0 wantarray ? :
31 0 wantarray ? :
14 31 exists $self->{$name} ? :
320 6 17 if (exists $self->{'text'}) { }
349 3 12 exists $self->{'unres_syms'} ? :
355 13 0 unless exists $self->{'unres_syms_flush'}
380 0 6 if $self->virtual
382 0 6 unless my $mkhref = shift()
385 0 0 ref $_ ? :
9 0 $_->isa('PFT::Map::Node') ? :
9 3 defined $_ ? :
400 0 75 $swap ? :
405 0 0 $swap ? :
409 2 38 $self->virtual ? :