Condition Coverage

blib/lib/Treex/Core/Node/P.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
49 24 0 1 scalar @_ == 1 and ref $_[0] eq 'HASH'
69 36 0 0 scalar @_ == 1 and ref $_[0] eq 'HASH'

or 2 conditions

line l !l condition
23 67 0 $self->{'#name'} || ''
36 0 $self->{'#name'} || ''
213 0 0 $self->form // '<?>'

or 3 conditions

line l !l&&r !l&&!r condition
23 24 45 67 $self->is_root or $self->phrase
69 31 36 $self->is_root or $self->phrase or ($self->{'#name'} || '') eq 'nonterminal'
0 36 0 $self->tag or ($self->{'#name'} || '') eq 'terminal'