blib/lib/boolean.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 28 | 92.8 |
line | true | false | branch |
---|---|---|---|
9 | 44 | 421 | ${$_[0];} ? : |
22 | 1 | 6 | if @options != @_ |
43 | 1 | 13 | if scalar @_ == 0 |
44 | 1 | 12 | if scalar @_ > 1 |
45 | 5 | 3 | "$_[0]" ? : |
4 | 8 | !defined($_[0]) ? : | |
49 | 5 | 1 | overload::StrVal($_[0]) eq $true_val ? : |
0 | 6 | !defined($_[0]) ? : | |
53 | 7 | 1 | overload::StrVal($_[0]) eq $false_val ? : |
1 | 8 | !defined($_[0]) ? : | |
57 | 10 | 3 | exists $$bool_vals{overload::StrVal($_[0])} ? : |
1 | 13 | !defined($_[0]) ? : | |
62 | 0 | 1 | if $] >= 5.021005 |
74 | 2 | 1 | ${$_[0];} ? : |