blib/lib/Perl/Critic/PolicyParameter/Behavior/Integer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
34 | 1390 | 1 | if (defined $value_string) |
35 | 1 | 1389 | if (not $value_string =~ / \A [-+]? [1-9] [\d_]* \z /msx and $value_string ne 0) |
50 | 2 | 1387 | if (defined $minimum and $minimum > $value) |
59 | 2 | 1385 | if (defined $maximum and $maximum < $value) |
86 | 126 | 0 | if ($description) |
90 | 126 | 0 | if (defined $minimum or defined $maximum) { } |
91 | 126 | 0 | if (defined $minimum) { } |
97 | 0 | 126 | if (defined $maximum) { } |