lib/HTML/Accessors.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 46 | 51 | 90.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
90 | 16 | 8 | 8 | $val =~ / \d+ /mx and $def =~ / \d+ /mx |
24 | 6 | 2 | $val =~ / \d+ /mx and $def =~ / \d+ /mx and $val == $def | |
92 | 16 | 8 | 8 | $val =~ / \d+ /mx && $def =~ / \d+ /mx |
8 | 22 | 2 | not $val =~ / \d+ /mx && $def =~ / \d+ /mx and $val eq $def | |
94 | 8 | 20 | 4 | exists $$labels{$val} and not defined $$labels{$val} |
121 | 3 | 1 | 3 | $val and ref $val eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
45 | 1 | 4 | delete $$args{'classes'} || {} |
47 | 1 | 4 | delete $$args{'labels'} || {} |
48 | 2 | 3 | delete $$args{'values'} || [] |
73 | 4 | 1 | $$args{'columns'} || '999999' |
74 | 4 | 1 | $$args{'default'} || 0 |
75 | 4 | 1 | $$args{'labels'} || {} |
76 | 2 | 3 | $$args{'label_class'} || 'radio_group_label' |
77 | 4 | 1 | $$args{'name'} || 'radio' |
78 | 4 | 1 | $$args{'values'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 1 | 2 | 0 | ref $self || $self |
46 | 2 | 0 | 3 | delete $$args{'default'} || $NUL |
94 | 20 | 4 | 4 | $$labels{$val} || $val |
134 | 0 | 0 | 4 | delete $$args{'default'} // $NUL |
2 | 0 | 4 | $val //= delete $$args{'default'} // $NUL |