lib/Mojolicious/Plugin/Vparam/Internet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 22 | 86.3 |
line | true | false | branch |
---|---|---|---|
8 | 0 | 10 | unless defined $_[0] |
9 | 1 | 9 | unless length $_[0] |
10 | 2 | 7 | unless Mail::RFC822::Address::valid($_[0]) |
15 | 1 | 12 | unless defined $_[0] |
16 | 1 | 11 | unless length $_[0] |
17 | 1 | 10 | unless $_[0]->scheme |
18 | 1 | 9 | unless $_[0]->host |
24 | 0 | 0 | unless defined $str |
30 | 1 | 12 | unless defined $str |
49 | 4 | 9 | unless defined $_[1] |
51 | 3 | 6 | ref $_[1] && !$_[2]{'blessed'} ? : |