lib/HTML/Accessors.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 46 | 51 | 90.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 16 | 8 | 8 | $val =~ / \d+ /mx and $def =~ / \d+ /mx |
24 | 6 | 2 | $val =~ / \d+ /mx and $def =~ / \d+ /mx and $val == $def | |
103 | 16 | 8 | 8 | $val =~ / \d+ /mx && $def =~ / \d+ /mx |
8 | 22 | 2 | not $val =~ / \d+ /mx && $def =~ / \d+ /mx and $val eq $def | |
108 | 8 | 20 | 4 | exists $labels->{$val} and not defined $labels->{$val} |
132 | 3 | 1 | 3 | $val and ref $val eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
56 | 1 | 4 | delete $args->{'classes'} || {} |
58 | 1 | 4 | delete $args->{'labels'} || {} |
59 | 2 | 3 | delete $args->{'values'} || [] |
84 | 4 | 1 | $args->{'columns'} || '999999' |
85 | 4 | 1 | $args->{'default'} || 0 |
86 | 4 | 1 | $args->{'labels'} || {} |
87 | 2 | 3 | $args->{'label_class'} || 'radio_group_label' |
88 | 4 | 1 | $args->{'name'} || 'radio' |
89 | 4 | 1 | $args->{'values'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 1 | 2 | 0 | &blessed($self) || $self |
57 | 2 | 0 | 3 | delete $args->{'default'} || $NUL |
108 | 20 | 4 | 4 | $labels->{$val} || $val |
145 | 0 | 0 | 4 | delete $args->{'default'} // $NUL |
2 | 0 | 4 | $val //= delete $args->{'default'} // $NUL |