blib/lib/Perl/Critic/PolicyParameter/Behavior/Integer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
35 | 1173 | 216 | 1 | not $value_string =~ / \A [-+]? [1-9] [\d_]* \z /msx and $value_string ne 0 |
50 | 12 | 1375 | 2 | defined $minimum and $minimum > $value |
59 | 1380 | 5 | 2 | defined $maximum and $maximum < $value |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 79 | 1103 | 209 | $config_string // $parameter->get_default_string |
90 | 126 | 0 | 0 | defined $minimum or defined $maximum |