Branch Coverage

blib/lib/Generic/Assertions.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
17 2 48 if (@args % 2 == 1 and not ref $args[0])
21 5 43 if (ref $args[0]) { }
40 3 28 unless 'CODE' eq ref $tests->{$test}
44 2 265 unless 'CODE' eq ref $handlers->{$handler}
46 0 43 unless 'CODE' eq ref $self->_input_transformer
52 223 0 if exists $self->{'args'}
58 28 48 if exists $self->{'tests'}
63 44 4 unless $self->_args->{'-tests'}
68 38 45 if exists $self->{'handlers'}
69 42 3 unless $self->_args->{'-handlers'}
85 3 3 unless $status
90 3 3 if $status
95 3 3 unless $status
100 3 3 if $status
113 24 43 if exists $self->{'input_transformer'}
114 12 31 if (exists $self->_args->{'-input_transformer'})
134 0 28 unless (exists $tests->{$test_name})