blib/lib/Test/Stream/Workflow/Unit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 37 | 46 | 80.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 0 | 0 | 2 | ref $set and &reftype($set) eq 'ARRAY' |
110 | 0 | 0 | 42 | defined $c_start and $c_start =~ /^\d+$/ |
0 | 32 | 10 | defined $c_start and $c_start =~ /^\d+$/ and $c_start < $start | |
115 | 0 | 42 | 0 | $end and "$end" eq 'EOF' |
118 | 1 | 40 | 1 | $c_end =~ /^\d+$/ and $c_end > $end |
127 | 3 | 15 | 10 | $start != $end and $start != $self->{'start_line'} |
128 | 3 | 24 | 1 | $end != $start and $end != $self->{'end_line'} |
line | l | !l | condition |
---|---|---|---|
26 | 30 | 314 | $_[0]{'meta'} ||= {} |
32 | 10 | 333 | $_[0]{'stash'} ||= {} |
66 | 2 | 62 | $self->$stash || (next) |
88 | 183 | 81 | $self->{$type} ||= [] |
139 | 7 | 20 | $self->{'post'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
56 | 8 | 4 | 4 | !defined($name) || $self->{'name'} eq $name |
57 | 14 | 1 | 1 | !defined($file) || $self->{'file'} eq $file |
61 | 8 | 0 | 8 | !defined($line) || $line >= $self->{'start_line'} && ($self->{'end_line'} . '' eq 'EOF' || $line <= $self->{'end_line'}) |
73 | 1 | 0 | 15 | $child_ok || $name_ok && $file_ok && $line_ok |
118 | 1 | 1 | 40 | $c_end =~ /^\d+$/ and $c_end > $end or "$c_end" eq 'EOF' |