Branch Coverage

blib/lib/Tags/Output.pm
Criterion Covered Total %
branch 39 44 88.6


line true false branch
52 4 71 if (ref $self->{'flush_code'} eq 'ARRAY') { }
61 13 62 if ($ouf)
63 0 13 unless print {$ouf;} $ret
68 0 75 if ($reset_flag)
100 1 279 if (ref $tags_structure_ar ne "ARRAY")
105 8 271 if (defined $self->{'input_tags_item_callback'})
113 31 248 if ($type eq 'a') { }
89 159 elsif ($type eq 'b') { }
6 153 elsif ($type eq 'cd') { }
11 142 elsif ($type eq 'c') { }
39 103 elsif ($type eq 'd') { }
83 20 elsif ($type eq 'e') { }
5 15 elsif ($type eq 'i') { }
13 2 elsif ($type eq 'r') { }
141 5 0 if ($self->{'strict_instruction'})
152 1 1 unless ($self->{'skip_bad_tags'})
159 12 71 if ($self->{'auto_flush'})
185 0 208 if ($arg_num < $min_arg_num or $arg_num > $max_arg_num)
198 1 55 if (defined $self->{'output_handler'} and ref $self->{'output_handler'} ne "GLOB")
205 1 54 if ($self->{'auto_flush'} and not defined $self->{'output_handler'})
226 0 75 if (defined $self->{'output_encoding'})
259 139 12 if (defined $self->{$callback_type} and ref $self->{$callback_type} eq "CODE")