blib/lib/boolean.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 24 | 28 | 85.7 |
line | true | false | branch |
---|---|---|---|
9 | 4 | 12 | ${$_[0];} ? : |
22 | 0 | 7 | if @options != @_ |
50 | 1 | 13 | if scalar @_ == 0 |
51 | 1 | 12 | if scalar @_ > 1 |
52 | 5 | 3 | "$_[0]" ? : |
4 | 8 | !defined($_[0]) ? : | |
56 | 5 | 1 | overload::StrVal($_[0]) eq $true_val ? : |
0 | 6 | !defined($_[0]) ? : | |
60 | 7 | 1 | overload::StrVal($_[0]) eq $false_val ? : |
1 | 8 | !defined($_[0]) ? : | |
65 | 10 | 3 | exists $$bool_vals{overload::StrVal($_[0])} ? : |
1 | 13 | !defined($_[0]) ? : | |
69 | 0 | 0 | if $] >= 5.021005 |
81 | 2 | 1 | ${$_[0];} ? : |