Branch Coverage

blib/lib/DBIx/Composer.pm
Criterion Covered Total %
branch 26 112 23.2


line true false branch
244 0 2 if @_ == 1
245 0 2 if @_ >= 2
273 0 0 if @_
299 0 0 if @_
356 0 1 unless $$self{'fields'}
360 1 0 if $$self{'table'}
361 1 0 if $$self{'where'}
362 1 0 if $$self{'group'}
363 1 0 if $$self{'order'}
364 1 0 if $$self{'limit'}
394 0 2 unless $$self{'table'}
395 0 2 unless $$self{'values'}
399 1 1 if $$self{'fields'}
430 0 3 unless $$self{'table'}
431 0 3 unless $$self{'values'} or $$self{'set'}
437 2 1 if ($$self{'values'}) { }
438 1 1 if $$self{'fields'}
476 0 2 unless $$self{'table'}
480 1 1 if $$self{'where'}
510 0 2 unless $$self{'table'}
511 0 2 unless $$self{'set'}
515 1 1 if $$self{'where'}
544 0 0 unless $$self{'_config'}{'dbh'}
547 0 0 unless $$self{'cmd'}
548 0 0 unless $$self{'cmd'}
585 0 0 unless ($$self{'_executed'})
588 0 0 unless ($$self{'sth'})
591 0 0 unless ($$self{'cmd'})
592 0 0 unless $$self{'cmd'}
593 0 0 unless $$self{'cmd'}
598 0 0 unless $$self{'sth'}
603 0 0 unless $$self{'sth'}->execute
632 0 0 unless ($$self{'_executed'})
635 0 0 unless ($$self{'sth'})
638 0 0 unless ($$self{'cmd'})
639 0 0 unless $$self{'cmd'}
640 0 0 unless $$self{'cmd'}
645 0 0 unless $$self{'sth'}
649 0 0 unless $$self{'sth'}->execute
678 0 0 unless $$self{'table'}
681 0 0 unless $$self{'cmd'}
682 0 0 unless $$self{'cmd'}
713 0 0 unless $$self{'table'}
716 0 0 unless $$self{'cmd'}
717 0 0 unless $$self{'cmd'}
748 0 0 unless $$self{'table'}
751 0 0 unless $$self{'cmd'}
752 0 0 unless $$self{'cmd'}
756 0 0 unless ($$self{'_config'}{'dbh'}->do($$self{'cmd'}))
786 0 0 unless $$self{'table'}
789 0 0 unless $$self{'cmd'}
790 0 0 unless $$self{'cmd'}
794 0 0 unless ($$self{'_config'}{'dbh'}->do($$self{'cmd'}))
825 0 0 unless $fmt
854 10 0 unless $$self{'_config'}{'debug'} > 1
883 0 0 unless $$self{'_config'}{'debug'} > 0