Branch Coverage

blib/lib/Data/Tabulate.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
28 0 0 unless (defined $atts and ref $atts eq 'HASH' and exists $$atts{'data'} and ref $$atts{'data'} eq 'ARRAY')
39 0 0 unless @data
44 0 0 if ($plugin_obj->can($$method[0]))
64 1 5 if ($cols > $self->max_columns)
70 1 5 if ($cols < $self->min_columns)
90 3 3 if ($rest > 0)
129 6 19 if defined $value and $value =~ /^[1-9]\d*$/
132 9 16 unless ($caller and $caller =~ /min_columns/ or not defined $self->min_columns)
133 0 9 if $$self{'max_cols'} < $self->min_columns
143 5 29 if defined $value and $value =~ /^[1-9]\d*$/
146 12 22 unless ($caller and $caller =~ /max_columns/)
147 0 12 if $$self{'min_cols'} > $self->max_columns
174 0 0 if $@
179 0 0 if @data