Branch Coverage

blib/lib/HTML/Transmorgify/FormDefault.pm
Criterion Covered Total %
branch 37 68 54.4


line true false branch
47 0 26 unless $$HTML::Transmorgify::FormDefault::query_param{$name}
48 12 14 if (ref $$HTML::Transmorgify::FormDefault::query_param{$name}) { }
49 12 0 if (defined $value) { }
55 9 5 if (defined $value) { }
66 0 42 unless ($attr->boolean('auto_default', undef, 1, 'raw', 1))
67 0 0 if $HTML::Transmorgify::FormDefault::debug
70 0 42 if ($attr->boolean('readonly', undef, 0, 'raw', 1))
71 0 0 if $HTML::Transmorgify::FormDefault::debug
76 0 42 if $HTML::Transmorgify::FormDefault::debug
83 0 33 unless ($HTML::Transmorgify::FormDefault::query_param and %$HTML::Transmorgify::FormDefault::query_param)
84 0 0 if $HTML::Transmorgify::FormDefault::debug
87 0 33 unless ($attr->boolean('auto_default', undef, 1))
88 0 0 if $HTML::Transmorgify::FormDefault::debug
91 0 33 if ($attr->boolean('readonly', undef, 0))
92 0 0 if $HTML::Transmorgify::FormDefault::debug
97 0 33 unless ($name)
98 0 0 if $HTML::Transmorgify::FormDefault::debug
101 7 26 unless (exists $$HTML::Transmorgify::FormDefault::query_param{$name})
102 0 7 if $HTML::Transmorgify::FormDefault::debug
105 0 26 if $HTML::Transmorgify::FormDefault::debug
112 0 2 if $closed
116 0 2 unless compile_time_gate($fattr)
122 2 2 unless run_time_gate($attr)
134 4 11 unless $name
136 7 4 if (qpval($name, $value)) { }
151 0 24 unless compile_time_gate($attr)
167 0 24 unless $handlers{$type}
175 0 2 unless compile_time_gate($attr)
191 1 1 if ($name) { }
205 0 2 unless compile_time_gate($attr)
210 0 12 unless compile_time_gate($attr)
215 6 6 if (defined $oattr->raw('value')) { }
233 0 12 unless $name
237 4 8 if (qpval($name, $value)) { }