Branch Coverage

lib/Tie/Wx/Widget.pm
Criterion Covered Total %
branch 1 28 3.5


line true false branch
11 0 1 if defined $_[1] and $_[1] eq 'warn'
14 0 0 $complainmethod eq 'die' ? :
19 0 0 if (not ref $widget) { }
0 0 elsif (index($widget, '=') == -1) { }
0 0 elsif (not $widget->isa('Wx::Control')) { }
0 0 elsif (not $widget->can('GetValue')) { }
0 0 elsif (not $widget->can('SetValue')) { }
0 0 elsif (defined $store and ref $store ne 'CODE') { }
0 0 elsif (defined $fetch and ref $fetch ne 'CODE') { }
28 0 0 if defined $store
29 0 0 if defined $fetch
35 0 0 if (exists $_[0]{'fetch'}) { }
39 0 0 if ref $_[1]
40 0 0 if (exists $_[0]{'store'}) { }