| blib/lib/Data/Vitals/Circumference.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 119 | 12 | 0 | defined $_[1] ? : |
| 123 | 6 | 6 | if ($value =~ /^(\d+(?:\.5)?)(?:c|cm|cms)$/) |
| 125 | 0 | 6 | unless ($cm > 10 and $cm < 400) |
| 133 | 6 | 0 | if ($value =~ /^(1?\d{1,2}(?:\.5)?)(?:\"|i|in|inc|inch|inchs|inches)$/) |
| 135 | 0 | 6 | unless ($inch > 3 and $inch < 120) |
| 139 | 0 | 6 | unless my $cm = Data::Vitals::Util::inch2cm($inch) |