blib/lib/Pod/2/DocBook.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 51 | 82 | 62.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
386 | 5 | 0 | 76 | not $state =~ /^begin/msx and $$parser{'fix_double_quotes'} |
5 | 70 | 6 | not $state =~ /^begin/msx and $$parser{'fix_double_quotes'} and $para_out =~ /"/msx | |
720 | 4 | 3 | 2 | defined $section and not defined $name |
774 | 9 | 0 | 0 | $$parser{'doctype'} eq 'refentry' and $command eq 'head1' |
9 | 0 | 0 | $$parser{'doctype'} eq 'refentry' and $command eq 'head1' and $paragraph eq 'NAME' | |
9 | 0 | 0 | $$parser{'doctype'} eq 'refentry' and $command eq 'head1' | |
9 | 0 | 0 | $$parser{'doctype'} eq 'refentry' and $command eq 'head1' and $paragraph eq 'SYNOPSIS' | |
920 | 39 | 42 | 0 | $what eq 'item' || $what eq 'over' and $state eq 'over' || $state =~ /^(o|v)?list/msx |
line | l | !l | condition |
---|---|---|---|
108 | 19 | 1 | $$parser{'title'} ||= '' |
109 | 18 | 2 | $$parser{'spaces'} ||= 0 |
110 | 0 | 20 | $$parser{'id_version'} ||= 1 |
113 | 17 | 3 | $skip || '' |
420 | 3 | 4 | pop @{$$parser{'Pod::2::DocBook::state'};} || '' |
436 | 6 | 0 | $leader ||= '' |
455 | 0 | 0 | $purpose ||= '' |
675 | 25 | 4 | $$parser{'ids_used'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
117 | 19 | 0 | 0 | $$parser{'title'} || ':' . _big_random_number() |
1 | 19 | 0 | $$parser{'base_id'} ||= $$parser{'title'} || ':' . _big_random_number() | |
295 | 1 | 2 | 78 | $state eq 'begin docbook' or $state eq 'begin table' |
381 | 2 | 29 | 44 | $state eq 'verbatim' or $state eq '' |
392 | 6 | 0 | 0 | $1 || $2 |
438 | 6 | 0 | 0 | not defined $min_leader or length $leader < $min_leader |
519 | 2 | 0 | 0 | $parent->cmd_name eq 'E' or $parent->cmd_name eq 'Z' |
758 | 0 | 0 | 4 | $argument eq 'lchevron' || $argument eq 'laquo' |
0 | 0 | 4 | $argument eq 'rchevron' || $argument eq 'raquo' | |
823 | 0 | 0 | 14 | not defined $paragraph or $paragraph =~ /^\s*$/msx |
0 | 2 | 12 | not defined $paragraph or $paragraph =~ /^\s*$/msx or $paragraph eq '*' | |
920 | 35 | 7 | 39 | $what eq 'item' || $what eq 'over' |
14 | 28 | 0 | $state eq 'over' || $state =~ /^(o|v)?list/msx | |
1084 | 2 | 2 | 12 | not defined $columns or @fields > $columns |