Condition Coverage

blib/lib/WikiText/Parser.pm
Criterion Covered Total %
condition 17 36 47.2


and 3 conditions

line !l l&&!r l&&r condition
52 2 6 72 defined $$self{'input'} and length $$self{'input'}

or 3 conditions

line l !l&&r !l&&!r condition
6 56 18 0 ref $class || $class
11 0 17 1 $$self{'input'} ||= shift()
14 0 18 0 $$self{'grammar'} ||= $self->set_grammar
15 18 0 0 $$self{'receiver'} ||= $self->set_receiver
23 0 0 0 shift() || $self->create_receiver
28 0 18 0 shift() || $self->create_grammar
56 24 6 6 not defined $match or $$matched{'begin'} < $$match{'begin'}
155 0 0 32 $_[1] || $1
0 0 32 $_[3] || $+[0]
165 0 0 36 $_[1] || $1
0 0 36 $_[3] || $+[0]