Branch Coverage

blib/lib/IO/StructuredOutput/Styles.pm
Criterion Covered Total %
branch 20 66 30.3


line true false branch
50 0 0 unless ref(my $self = shift())
70 0 0 if (defined $$info{'bold'})
71 0 0 $$info{'bold'} ? :
74 0 0 if (defined $$info{'italic'})
75 0 0 $$info{'italic'} ? :
78 0 0 if (defined $$info{'color'})
80 0 0 if ($$info{'color'} =~ /^(\d+)(#......)/) { }
84 0 0 if ($$self{'format'} eq 'xls') { }
95 0 0 if (defined $$info{'bg_color'})
97 0 0 if ($$info{'bg_color'} =~ /^(\d+)(#......)/) { }
101 0 0 if ($$self{'format'} eq 'xls') { }
114 0 0 if $allowed_formats{$key}
116 0 0 if ($$self{'format'} eq 'xls')
124 0 12 unless ref(my $self = shift())
126 6 6 if ($format eq 'html') { }
6 0 elsif ($format eq 'xls') { }
0 0 elsif ($format eq 'csv') { }
131 0 6 if $colspan
132 0 6 if $$self{'attr'}{'align'}
133 0 6 if $$self{'attr'}{'valign'}
134 0 6 if $$self{'attr'}{'bg_color'}
135 0 6 if $$self{'attr'}{'color'}
136 0 6 if $$self{'attr'}{'font'}
137 0 6 if $$self{'attr'}{'size'}
138 0 6 if $$self{'attr'}{'bold'}
139 0 6 if $$self{'attr'}{'italic'}
140 0 6 if $$self{'attr'}{'underline'}
142 0 6 if $$self{'attr'}{'underline'}
143 0 6 if $$self{'attr'}{'italic'}
144 0 6 if $$self{'attr'}{'bold'}
145 0 6 if $$self{'attr'}{'size'}
146 0 6 if $$self{'attr'}{'font'}
147 0 6 if $$self{'attr'}{'color'}