blib/lib/Rose/HTML/Form/Field/OnOff/Checkable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 20 | 95.0 |
line | true | false | branch |
---|---|---|---|
18 | 555 | 649 | if (@_) |
22 | 455 | 58 | defined $_[0] ? : |
42 | 513 | $_[0] ? : | |
25 | 0 | 555 | if (my $parent = $self->parent_field and $self->auto_invalidate_parent) |
33 | 93 | 556 | if $self->is_cleared |
34 | 304 | 252 | defined $self->{'checked'} ? : |
39 | 100 | 159 | (shift())->checked ? : |
68 | 32 | 355 | if (@_) |
70 | 16 | 16 | shift @_ ? : |
16 | 16 | if ($self->{'_hidden'} = shift @_ ? 1 : 0) |