Branch Coverage

lib/Convert/Wiki/Node.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
23 20 45 if ref $args ne 'HASH'
29 54 11 if (defined $$args{'type'})
32 1 53 if $type eq 'Paragraph'
34 15 39 if ($type =~ /(\d)\z/)
41 1 53 unless $type =~ /^(Head|Item|Line|Mono|Para)\z/
48 63 1 if ($class ne 'Convert::Wiki::Node')
69 10 54 unless defined $$self{'txt'}
104 5 59 unless $link =~ /\|/
110 8 56 if ($target =~ /^[a-z]+:/) { }
120 3 4 $2 eq $phrase && $2 eq $target ? :
130 3 7 if defined $_[0]