Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
64 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
75 4 155 0 $children->[1] and $children->[1] eq ',' || $children->[1] eq '=>'
108 17 0 0 $newhook->type eq 'package' and $self->mode =~ /^[dcru]/o
109 0 17 0 $newhook->type eq 'runtime' and $self->mode =~ /^[pcu]/o
110 17 0 0 $newhook->type eq 'compile' and $self->mode =~ /^[pr]/o

or 2 conditions

line l !l condition
19 0 15 $args{'mode'} // 'all'
74 22 137 $children //= [$statement->schildren]

or 3 conditions

line l !l&&r !l&&!r condition
64 195 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
75 9 8 138 $children->[1] eq ',' || $children->[1] eq '=>'
85 8 0 168 not $k =~ /^[a-z_][a-z0-9_]*(?:::[a-z0-9_]+)*(?:::)?$/io or $k =~ /^__[A-Z]+__$/o
98 6 184 0 $forcetype // $hook->type