Branch Coverage

blib/lib/Test/Smart.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
99 0 4 if $@
103 4 0 if defined $interface
157 6 1 if defined $Qobj and $Qobj->isa('Test::Smart::Question')
184 0 9 unless $expected =~ /yes|no/i
187 1 8 unless defined $Qobj and $Qobj->isa('Test::Smart::Question')
188 2 6 if defined $Qobj->skip
197 1 5 unless $interface->answer($Qobj)
201 2 3 unless $tb->ok($answer eq $expected, $Qobj->name)