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