Branch Coverage

blib/lib/CGI/ProgressBar.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
198 0 5 if (ref $_[0] eq 'HASH') { }
5 0 elsif (not ref $_[0]) { }
209 0 5 if $args{'steps'}
211 0 5 if $$pb{'orientation'} eq 'v'
212 0 5 if ($$pb{'orientation'} eq 'vertical')
218 5 0 $$pb{'colors'} ? :
231 0 5 if ($$pb{'debug'})
265 1 0 $$self{'progress_bar'} ? :
305 0 5 if not $$self{'progress_bar'}{'block_wi'} or $$self{'progress_bar'}{'block_wi'} < 1
315 5 0 if $^W
317 0 5 if $$self{'progress_bar'}{'label'}
324 0 5 if $$self{'progress_bar'}{'label'}
332 5 0 if $^W
334 5 0 if $^W
351 0 5 if $$self{'progress_bar'}{'label'}
359 0 5 $$self{'progress_bar'}{'orientation'} eq 'vertical' ? :
382 0 5 if ($$self{'progress_bar'}{'label'})