Condition Coverage

blib/lib/Stenciller.pm
Criterion Covered Total %
condition 16 28 57.1


and 2 conditions

line l !l condition
144 0 21 $self->add_header_line($line) and next LINE
166 0 41 $stencil->add_before_input($line) and next LINE
170 0 41 $stencil->add_input($line) and next LINE
174 0 38 $stencil->add_between($line) and next LINE
178 0 41 $stencil->add_output($line) and next LINE
182 0 11 $stencil->add_after_output($line) and next LINE

and 3 conditions

line !l l&&!r l&&r condition
147 4 0 11 defined $possible_hash && $possible_hash =~ /\{.*\}/
200 13 0 2 not $stencil->has_input and $self->skip_if_input_empty
201 13 0 0 not $stencil->has_output and $self->skip_if_output_empty

or 2 conditions

line l !l condition
111 2 5 $args{'constructor_args'} || {}
112 3 4 $args{'transform_args'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
110 7 0 0 $args{'plugin_name'} || carp('plugin_name is a mandatory key in the call to transform()')