Condition Coverage

blib/lib/Tangerine.pm
Criterion Covered Total %
condition 16 43 37.2


and 3 conditions

line !l l&&!r l&&r condition
65 0 0 0 $_->type eq 'package' and $self->mode =~ /^p/o
0 0 0 $_->type eq 'compile' and $self->mode =~ /^[cdu]/o
0 0 0 $_->type eq 'runtime' and $self->mode =~ /^[dr]/o
76 4 147 0 $children->[1] and $children->[1] eq ',' || $children->[1] eq '=>'
109 14 0 0 $newhook->type eq 'package' and $self->mode =~ /^[dcru]/o
110 0 14 0 $newhook->type eq 'runtime' and $self->mode =~ /^[pcu]/o
111 14 0 0 $newhook->type eq 'compile' and $self->mode =~ /^[pr]/o

or 2 conditions

line l !l condition
20 0 14 $args{'mode'} // 'all'
75 22 129 $children //= [$statement->schildren]

or 3 conditions

line l !l&&r !l&&!r condition
65 182 0 0 $self->mode =~ /^a/o or $_->type eq 'package' and $self->mode =~ /^p/o
0 0 0 $self->mode =~ /^a/o or $_->type eq 'package' and $self->mode =~ /^p/o or $_->type eq 'compile' and $self->mode =~ /^[cdu]/o
0 0 0 $self->mode =~ /^a/o or $_->type eq 'package' and $self->mode =~ /^p/o or $_->type eq 'compile' and $self->mode =~ /^[cdu]/o or $_->type eq 'runtime' and $self->mode =~ /^[dr]/o
76 8 7 132 $children->[1] eq ',' || $children->[1] eq '=>'
86 8 0 157 not $k =~ /^[a-z_][a-z0-9_]*(?:::[a-z0-9_]+)*(?:::)?$/io or $k =~ /^__[A-Z]+__$/o
99 6 172 0 $forcetype // $hook->type